_Assembly.EntryPoint 屬性

定義

為 COM 物件提供與版本無關的 EntryPoint 屬性之存取權。

public:
 property System::Reflection::MethodInfo ^ EntryPoint { System::Reflection::MethodInfo ^ get(); };
public System.Reflection.MethodInfo EntryPoint { get; }
member this.EntryPoint : System.Reflection.MethodInfo
Public ReadOnly Property EntryPoint As MethodInfo

屬性值

MethodInfo 物件,表示這個組件的進入點。 如果找不到進入點 (例如,組件是 DLL),則傳回 null

備註

此方法適用於從 Unmanaged 程式代碼存取 Managed 類別,不應從 Managed 程式代碼呼叫。

屬性 EntryPoint 會取得這個元件的進入點。

適用於

另請參閱