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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om