OpenTypeMethods.GetValue(Object, String) メソッド

定義

指定したオブジェクトの指定したプロパティから値を取得します。

public:
 static System::Object ^ GetValue(System::Object ^ value, System::String ^ propertyName);
public static object GetValue(object value, string propertyName);
static member GetValue : obj * string -> obj
Public Shared Function GetValue (value As Object, propertyName As String) As Object

パラメーター

value
Object

プロパティ値の取得元のオブジェクト。

propertyName
String

値の取得元となるプロパティの名前。

返品

要求された値。値を特定できない場合に null します。

適用対象