ClientBuildManager.IsCodeAssembly(String) 方法

定义

指示程序集是否为代码程序集。Indicates whether an assembly is a code assembly.

public:
 bool IsCodeAssembly(System::String ^ assemblyName);
public bool IsCodeAssembly (string assemblyName);
member this.IsCodeAssembly : string -> bool
Public Function IsCodeAssembly (assemblyName As String) As Boolean

参数

assemblyName
String

要标识为代码程序集的程序集的名称。The name of the assembly to be identified as a code assembly.

返回

如果 true 参数与某个生成的代码程序集匹配,则为 assemblyName;否则为 falsetrue if the assemblyName parameter matches one of the generated code assemblies; otherwise, false.

异常

assemblyName 为 null。assemblyName is null.

适用于

另请参阅