COMPropertyInfo.GetGetMethod(Boolean) 方法

定義

傳回這個屬性的 get 存取子。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 override System::Reflection::MethodInfo ^ GetGetMethod(bool nonPublic);
public override System.Reflection.MethodInfo GetGetMethod (bool nonPublic);
override this.GetGetMethod : bool -> System.Reflection.MethodInfo
Public Overrides Function GetGetMethod (nonPublic As Boolean) As MethodInfo

參數

nonPublic
Boolean

true 表示包含非公用存取子。

傳回

這個屬性的 get 存取子。

適用於

另請參閱