BuildManager.GetCompiledType(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compiles a file, given its virtual path, and returns the compiled type.
public:
static Type ^ GetCompiledType(System::String ^ virtualPath);
public static Type GetCompiledType (string virtualPath);
static member GetCompiledType : string -> Type
Public Shared Function GetCompiledType (virtualPath As String) As Type
Parameters
- virtualPath
- String
The virtual path to build into a type.
Returns
A Type object that represents the type generated from compiling the virtual path.
Exceptions
An error occurred when compiling the virtual path.
virtualPath
is null
.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.