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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET