Directory.CreateTempSubdirectory(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.
Creates a uniquely named, empty directory in the current user's temporary directory.
public static System.IO.DirectoryInfo CreateTempSubdirectory (string? prefix = default);
static member CreateTempSubdirectory : string -> System.IO.DirectoryInfo
Public Shared Function CreateTempSubdirectory (Optional prefix As String = Nothing) As DirectoryInfo
Parameters
- prefix
- String
An optional string to add to the beginning of the subdirectory name.
Returns
An object that represents the directory that was created.
Exceptions
prefix
contains a directory separator.
A new directory cannot be created.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.