COMPropertyInfo.GetGetMethod(Boolean) 方法

定義

回傳這個屬性的 get accessr。

此 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 以納入非公開的存取者。

傳回

取得此物業的存取權。

適用於

另請參閱