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。

適用於

另請參閱