ClientBuildManager.GetCompiledType(String) 方法
定义
编译由虚拟路径表示的文件,并返回其编译类型。Compiles the file represented by the virtual path and returns its compiled type.
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
要编译的文件的虚拟路径。The virtual path of the file to compile.
返回
经过编译的文件的 Type。The Type of the compiled file.
例外
virtualPath 为 null。virtualPath is null.