_Assembly.EntryPoint _Assembly.EntryPoint _Assembly.EntryPoint _Assembly.EntryPoint Property

定义

为 COM 对象提供对 EntryPoint 属性的与版本无关的访问。Provides COM objects with version-independent access to the EntryPoint property.

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 对象。A MethodInfo object that represents the entry point of this assembly. 如果没有找到入口点(例如,此程序集是一个 DLL),则返回 nullIf no entry point is found (for example, the assembly is a DLL), null is returned.

注解

此方法用于从非托管代码访问托管类, 不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

EntryPoint属性获取此程序集的入口点。The EntryPoint property gets the entry point of this assembly.

适用于

另请参阅