PropertyDescriptor.GetInstance
Contents
[
Hide
]GetInstance(int, PropertyDataType)
Gets the descriptor of a tagged property by its ID and data type.
public static PidTagPropertyDescriptor GetInstance(int id, PropertyDataType dataType)
| Parameter | Type | Description |
|---|---|---|
| id | Int32 | The 16-bit ID of the property. |
| dataType | PropertyDataType | The data type of the property. |
Return Value
The descriptor: the one from KnownPropertyList if the property is known; otherwise a new one.
See Also
- class PidTagPropertyDescriptor
- enum PropertyDataType
- class PropertyDescriptor
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
GetInstance(long)
Gets the descriptor of a tagged property by its tag.
public static PidTagPropertyDescriptor GetInstance(long tag)
| Parameter | Type | Description |
|---|---|---|
| tag | Int64 | The tag of the property. |
Return Value
The descriptor: the one from KnownPropertyList if the property is known; otherwise a new one.
See Also
- class PidTagPropertyDescriptor
- class PropertyDescriptor
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
GetInstance(long, PropertyDataType, Guid)
Gets the descriptor of a named property by its numeric ID (LID).
public static PidLidPropertyDescriptor GetInstance(long lid, PropertyDataType dataType,
Guid propertySet)
| Parameter | Type | Description |
|---|---|---|
| lid | Int64 | The numeric ID of the property. |
| dataType | PropertyDataType | The data type of the property. |
| propertySet | Guid | The GUID of the property set. |
Return Value
The descriptor: the one from KnownPropertyList if the property is known; otherwise a new one.
See Also
- class PidLidPropertyDescriptor
- enum PropertyDataType
- class PropertyDescriptor
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
GetInstance(string, PropertyDataType, Guid)
Gets the descriptor of a named property by its name.
public static PidNamePropertyDescriptor GetInstance(string name, PropertyDataType dataType,
Guid propertySet)
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of the property. |
| dataType | PropertyDataType | The data type of the property. |
| propertySet | Guid | The GUID of the property set. |
Return Value
The descriptor: the one from KnownPropertyList if the property is known; otherwise a new one.
See Also
- class PidNamePropertyDescriptor
- enum PropertyDataType
- class PropertyDescriptor
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
GetInstance(MapiProperty)
Gets the descriptor of a MAPI property.
public static PropertyDescriptor GetInstance(MapiProperty property)
| Parameter | Type | Description |
|---|---|---|
| property | MapiProperty | The property. |
Return Value
The descriptor of property.
See Also
- class MapiProperty
- class PropertyDescriptor
- namespace Aspose.Email.Mapi
- assembly Aspose.Email