Επεξεργασία

Κοινή χρήση μέσω


AssemblyBuilder.GetTempFilePhysicalPath(String) Method

Definition

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.

Applies to

See also