COMPropertyInfo.GetValue メソッド

定義

Initialize(String, COMMemberInfo) メソッドに指定されたCOMMemberInfoを使用して、外部 COM プロパティの値を取得します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 override System::Object ^ GetValue(System::Object ^ obj, System::Reflection::BindingFlags invokeAttr, System::Reflection::Binder ^ binder, cli::array <System::Object ^> ^ index, System::Globalization::CultureInfo ^ culture);
public override object GetValue(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture);
override this.GetValue : obj * System.Reflection.BindingFlags * System.Reflection.Binder * obj[] * System.Globalization.CultureInfo -> obj
Public Overrides Function GetValue (obj As Object, invokeAttr As BindingFlags, binder As Binder, index As Object(), culture As CultureInfo) As Object

パラメーター

obj
Object

取得するプロパティ値を持つオブジェクト。 このパラメーターは無視されます。

invokeAttr
BindingFlags

バインディングを制御する列挙値のビットごとの組み合わせ。

binder
Binder

型を実際の引数型から仮引数型に変換するオブジェクト。

index
Object[]

外部 COM プロパティに渡す引数リスト。

culture
CultureInfo

特定のカルチャまたはロケールに関する情報を提供します。 数値、日付、文字列の書式を正しく設定するために使用されます。

返品

外部 COM プロパティの値。

適用対象

こちらもご覧ください