_PropertyInfo.GetGetMethod メソッド
定義
COM オブジェクトに、GetGetMethod メソッドへのバージョンに依存しないアクセスが用意されています。Provides COM objects with version-independent access to the GetGetMethod methods.
オーバーロード
GetGetMethod() |
COM オブジェクトに、GetGetMethod() メソッドへのバージョンに依存しないアクセスが用意されています。Provides COM objects with version-independent access to the GetGetMethod() method. |
GetGetMethod(Boolean) |
COM オブジェクトに、GetGetMethod(Boolean) メソッドへのバージョンに依存しないアクセスが用意されています。Provides COM objects with version-independent access to the GetGetMethod(Boolean) method. |
注釈
このメソッドは、アンマネージコードからマネージクラスにアクセスするためのものであり、マネージコードからは呼び出さないでください。This method is for access to managed classes from unmanaged code and should not be called from managed code.
メソッドは、 GetGetMethod MethodInfo このプロパティのアクセサーを表すオブジェクトを返し get
ます。The GetGetMethod methods return a MethodInfo object representing the get
accessor for this property.
GetGetMethod()
COM オブジェクトに、GetGetMethod() メソッドへのバージョンに依存しないアクセスが用意されています。Provides COM objects with version-independent access to the GetGetMethod() method.
public:
System::Reflection::MethodInfo ^ GetGetMethod();
public System.Reflection.MethodInfo GetGetMethod ();
abstract member GetGetMethod : unit -> System.Reflection.MethodInfo
Public Function GetGetMethod () As MethodInfo
戻り値
このプロパティのパブリックな MethodInfo アクセサーを表す get
オブジェクト。null
アクセサーが非パブリックまたは存在しない場合は get
。A MethodInfo object representing the public get
accessor for this property, or null
if the get
accessor is non-public or does not exist.
注釈
このメソッドは、アンマネージコードからマネージクラスにアクセスするためのものであり、マネージコードからは呼び出さないでください。This method is for access to managed classes from unmanaged code and should not be called from managed code.
メソッドは、 GetGetMethod get
このプロパティのパブリックアクセサーを返します。The GetGetMethod method returns the public get
accessor for this property.
適用対象
GetGetMethod(Boolean)
COM オブジェクトに、GetGetMethod(Boolean) メソッドへのバージョンに依存しないアクセスが用意されています。Provides COM objects with version-independent access to the GetGetMethod(Boolean) method.
public:
System::Reflection::MethodInfo ^ GetGetMethod(bool nonPublic);
public System.Reflection.MethodInfo GetGetMethod (bool nonPublic);
abstract member GetGetMethod : bool -> System.Reflection.MethodInfo
Public Function GetGetMethod (nonPublic As Boolean) As MethodInfo
パラメーター
- nonPublic
- Boolean
非パブリックな true
アクセサーを返す場合は get
。それ以外の場合は false
。true
to return a non-public get
accessor; otherwise, false
.
戻り値
nonPublic
パラメーターが get
の場合は、このプロパティの true
アクセサーを表す MethodInfo オブジェクト。A MethodInfo object representing the get
accessor for this property, if the nonPublic
parameter is true
. また、nonPublic
が null
で false
アクセサーが非パブリックの場合、または nonPublic
が get
でも true
アクセサーがない場合は、get
。Or null
if nonPublic
is false
and the get
accessor is non-public, or if nonPublic
is true
but no get
accessors exist.
注釈
このメソッドは、アンマネージコードからマネージクラスにアクセスするためのものであり、マネージコードからは呼び出さないでください。This method is for access to managed classes from unmanaged code and should not be called from managed code.
メソッドは、 GetGetMethod このプロパティのパブリックまたは非パブリックなアクセサーを返し get
ます。The GetGetMethod method returns the public or non-public get
accessor for this property.