SymWriter.SetUserEntryPoint(SymbolToken) 方法

定义

将用户定义的方法标识为当前模块的入口点。

public:
 override void SetUserEntryPoint(System::Diagnostics::SymbolStore::SymbolToken entryMethod);
public:
 virtual void SetUserEntryPoint(System::Diagnostics::SymbolStore::SymbolToken entryMethod);
public override void SetUserEntryPoint (System.Diagnostics.SymbolStore.SymbolToken entryMethod);
public virtual void SetUserEntryPoint (System.Diagnostics.SymbolStore.SymbolToken entryMethod);
abstract member SetUserEntryPoint : System.Diagnostics.SymbolStore.SymbolToken -> unit
override this.SetUserEntryPoint : System.Diagnostics.SymbolStore.SymbolToken -> unit
Public Overrides Sub SetUserEntryPoint (entryMethod As SymbolToken)
Public Overridable Sub SetUserEntryPoint (entryMethod As SymbolToken)

参数

entryMethod
SymbolToken

方法的元数据标记,它是用户入口点。

实现

注解

这通常是main方法。

适用于