/// <summary> /// Creates a <see cref="PropertyEnumeration"/> list of possible values for a property /// </summary> /// <param name="propDesc">A <see cref="PropertyDescription"/> describing the property the enumeration list is required for</param> public PropertyEnumeration(PropertyDescription propDesc) { IntPtr pUnk = propDesc.GetEnumTypeListPointer(); _pList = (IPropertyEnumTypeList)Marshal.GetUniqueObjectForIUnknown(pUnk); Marshal.Release(pUnk); }
internal PropertyEnumeration(IntPtr pUnk) { _pList = (IPropertyEnumTypeList)Marshal.GetUniqueObjectForIUnknown(pUnk); }