AssemblyBuilder.GetName(Boolean) 方法

定义

获取在创建当前动态程序集时指定的 AssemblyName,并将基本代码设置为指定代码。Gets the AssemblyName that was specified when the current dynamic assembly was created, and sets the code base as specified.

public:
 override System::Reflection::AssemblyName ^ GetName(bool copiedName);
public override System.Reflection.AssemblyName GetName (bool copiedName);
override this.GetName : bool -> System.Reflection.AssemblyName
Public Overrides Function GetName (copiedName As Boolean) As AssemblyName

参数

copiedName
Boolean

若要将基本代码设置为其被卷影复制后的程序集位置,则为 true;若要将基本代码设置为原位置,则为 falsetrue to set the code base to the location of the assembly after it is shadow-copied; false to set the code base to the original location.

返回

AssemblyName

动态程序集的名称。The name of the dynamic assembly.

适用于