ComAwareEventInfo.GetOtherMethods(Boolean) 方法

定義

傳回已與中繼資料中事件建立關聯的公用或非公用方法。

public:
 override cli::array <System::Reflection::MethodInfo ^> ^ GetOtherMethods(bool nonPublic);
public override System.Reflection.MethodInfo[] GetOtherMethods (bool nonPublic);
override this.GetOtherMethods : bool -> System.Reflection.MethodInfo[]
Public Overrides Function GetOtherMethods (nonPublic As Boolean) As MethodInfo()

參數

nonPublic
Boolean

true 是表示要包括非公用方法,否則為 false

傳回

陣列,表示已與中繼資料中事件建立關聯的方法。 如果沒有這類方法,則會傳回空白陣列。

適用於