GetInstance

PropertyDescriptor.GetInstance method (1 of 5)

Retrieves PidTagPropertyDescriptor object

public static PidTagPropertyDescriptor GetInstance(int id, PropertyDataType dataType)
Parameter Type Description
id Int32 Id of a property
dataType PropertyDataType Data type of a property

Return Value

PidTagPropertyDescriptor object

See Also


PropertyDescriptor.GetInstance method (2 of 5)

Retrieves PidTagPropertyDescriptor object

public static PidTagPropertyDescriptor GetInstance(long tag)
Parameter Type Description
tag Int64 Tag of a property

Return Value

PidTagPropertyDescriptor object

See Also


PropertyDescriptor.GetInstance method (3 of 5)

Retrieves PidLidPropertyDescriptor object

public static PidLidPropertyDescriptor GetInstance(long lid, PropertyDataType dataType, 
    Guid propertySet)
Parameter Type Description
lid Int64 Long id of a property
dataType PropertyDataType Data type of a property
propertySet Guid PropertySet of a property

Return Value

PidLidPropertyDescriptor object

See Also


PropertyDescriptor.GetInstance method (4 of 5)

Retrieves PidNamePropertyDescriptor object

public static PidNamePropertyDescriptor GetInstance(string name, PropertyDataType dataType, 
    Guid propertySet)
Parameter Type Description
name String Name of a property
dataType PropertyDataType Data type of a property
propertySet Guid PropertySet of a property

Return Value

PidNamePropertyDescriptor object

See Also


PropertyDescriptor.GetInstance method (5 of 5)

Retrieves PropertyDescriptor object from MAPI property

public static PropertyDescriptor GetInstance(MapiProperty property)
Parameter Type Description
property MapiProperty MapiProperty object

See Also