ClientBuildManager.GetCompiledType(String) 方法

定义

编译由虚拟路径表示的文件,并返回其编译类型。

public:
 Type ^ GetCompiledType(System::String ^ virtualPath);
public Type GetCompiledType (string virtualPath);
member this.GetCompiledType : string -> Type
Public Function GetCompiledType (virtualPath As String) As Type

参数

virtualPath
String

要编译的文件的虚拟路径。

返回

Type

经过编译的文件的 Type

例外

virtualPath 为 null。

适用于

另请参阅