AssemblyBuilder.GetTempFilePhysicalPath(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.
Generates a temporary file path.
public:
System::String ^ GetTempFilePhysicalPath(System::String ^ extension);
public string GetTempFilePhysicalPath (string extension);
member this.GetTempFilePhysicalPath : string -> string
Public Function GetTempFilePhysicalPath (extension As String) As String
Parameters
- extension
- String
The file extension to use for the temporary file.
Returns
A path to a temporary file, with the specified file extension.
Remarks
A BuildProvider implementation calls the GetTempFilePhysicalPath method to get a temporary file path that is deleted automatically after the assembly is compiled.
The GetTempFilePhysicalPath method generates a unique temporary file path, but does not create the file.