次の方法で共有


PropertyDictionary.TryGetPropertyValue メソッド

定義

取得するプロパティを示す値を決定します。

オーバーロード

TryGetPropertyValue(String, Object)

取得するプロパティを示す値を取得します。

TryGetPropertyValue<T>(String, T)

アイテムの一覧を使用して取得するプロパティを示す値を取得します。

TryGetPropertyValue(String, Object)

取得するプロパティを示す値を取得します。

public:
 virtual bool TryGetPropertyValue(System::String ^ name, [Runtime::InteropServices::Out] System::Object ^ % value);
public bool TryGetPropertyValue (string name, out object value);
abstract member TryGetPropertyValue : string * obj -> bool
override this.TryGetPropertyValue : string * obj -> bool
Public Function TryGetPropertyValue (name As String, ByRef value As Object) As Boolean

パラメーター

name
String

プロパティ名を表す文字列入力です。

value
Object

取得するプロパティのオブジェクトです。

戻り値

true値が取得するプロパティを示す場合。それ以外の場合は . false

実装

適用対象

TryGetPropertyValue<T>(String, T)

アイテムの一覧を使用して取得するプロパティを示す値を取得します。

public:
generic <typename T>
 virtual bool TryGetPropertyValue(System::String ^ name, [Runtime::InteropServices::Out] T % value);
public bool TryGetPropertyValue<T> (string name, out T value);
abstract member TryGetPropertyValue : string * 'T -> bool
override this.TryGetPropertyValue : string * 'T -> bool
Public Function TryGetPropertyValue(Of T) (name As String, ByRef value As T) As Boolean

型パラメーター

T

項目のジェネリック値。

パラメーター

name
String

取得するプロパティの名前を表す文字列値です。

value
T

アイテムに対して指定された値です。

戻り値

値が、アイテムの一覧を使用して取得するプロパティを示す場合は true、それ以外の場合は false です。

実装

適用対象