COMPropertyInfo.GetGetMethod(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳這個屬性的 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 以納入非公開的存取者。
傳回
取得此物業的存取權。