PropertyDescriptor.GetInstance

GetInstance(int, PropertyDataType)

Retrieves PidTagPropertyDescriptor object

public static PidTagPropertyDescriptor GetInstance(int id, PropertyDataType dataType)
ParameterTypeDescription
idInt32Id of a property
dataTypePropertyDataTypeData type of a property

Return Value

PidTagPropertyDescriptor object

See Also


GetInstance(long)

Retrieves PidTagPropertyDescriptor object

public static PidTagPropertyDescriptor GetInstance(long tag)
ParameterTypeDescription
tagInt64Tag of a property

Return Value

PidTagPropertyDescriptor object

See Also


GetInstance(long, PropertyDataType, Guid)

Retrieves PidLidPropertyDescriptor object

public static PidLidPropertyDescriptor GetInstance(long lid, PropertyDataType dataType, 
    Guid propertySet)
ParameterTypeDescription
lidInt64Long id of a property
dataTypePropertyDataTypeData type of a property
propertySetGuidPropertySet of a property

Return Value

PidLidPropertyDescriptor object

See Also


GetInstance(string, PropertyDataType, Guid)

Retrieves PidNamePropertyDescriptor object

public static PidNamePropertyDescriptor GetInstance(string name, PropertyDataType dataType, 
    Guid propertySet)
ParameterTypeDescription
nameStringName of a property
dataTypePropertyDataTypeData type of a property
propertySetGuidPropertySet of a property

Return Value

PidNamePropertyDescriptor object

See Also


GetInstance(MapiProperty)

Retrieves PropertyDescriptor object from MAPI property

public static PropertyDescriptor GetInstance(MapiProperty property)
ParameterTypeDescription
propertyMapiPropertyMapiProperty object

See Also