ServiceObject.TryGetProperty メソッド

定義

オーバーロード

TryGetProperty(PropertyDefinitionBase, Object)

指定したプロパティの値の取得を試みます。

TryGetProperty<T>(PropertyDefinitionBase, T)

指定したプロパティの値の取得を試みます。

TryGetProperty(PropertyDefinitionBase, Object)

指定したプロパティの値の取得を試みます。

public:
 bool TryGetProperty(Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^ propertyDefinition, [Runtime::InteropServices::Out] System::Object ^ % propertyValue);
public bool TryGetProperty (Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase propertyDefinition, out object propertyValue);
Public Function TryGetProperty (propertyDefinition As PropertyDefinitionBase, ByRef propertyValue As Object) As Boolean

パラメーター

propertyDefinition
PropertyDefinitionBase

プロパティ定義。

propertyValue
Object

プロパティ値。

戻り値

プロパティが取得された場合は true。それ以外の場合は false

適用対象

TryGetProperty<T>(PropertyDefinitionBase, T)

指定したプロパティの値の取得を試みます。

public:
generic <typename T>
 bool TryGetProperty(Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^ propertyDefinition, [Runtime::InteropServices::Out] T % propertyValue);
public bool TryGetProperty<T> (Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase propertyDefinition, out T propertyValue);
Public Function TryGetProperty(Of T) (propertyDefinition As PropertyDefinitionBase, ByRef propertyValue As T) As Boolean

型パラメーター

T

予想されるプロパティ値の型。

パラメーター

propertyDefinition
PropertyDefinitionBase

プロパティ定義。

propertyValue
T

プロパティ値。

戻り値

プロパティが取得された場合は true。それ以外の場合は false

適用対象