Export (0) Print
Expand All

ServiceObject.TryGetProperty method (PropertyDefinitionBase, Object)

Tries to get the value of a specified property.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public bool TryGetProperty(
	PropertyDefinitionBase propertyDefinition,
	out Object propertyValue
)

Parameters

propertyDefinition
Type: Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase

The property definition.

propertyValue
Type: System.Object

The property value.

Return value

Type: System.Boolean
true if the property was retrieved; otherwise, false.
Show:
© 2014 Microsoft