Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
System
IO
Tests
Directory_CreateDirectory
Create
System.IO.Tests.Directory_CreateDirectory.Create C# (CSharp) Méthode
Directory_CreateDirectory Class Documentation
Afficher le fichier
Open project: dotnet/corefx
Create()
public
méthode
public
Create
(
string
path
) :
DirectoryInfo
path
string
Résultat
DirectoryInfo
public virtual DirectoryInfo Create(string path) { return Directory.CreateDirectory(path); }
Directory_CreateDirectory
AllowedSymbols
CDriveCase
Create
CreateCurrentDirectory
DirectoryEqualToMaxDirectory_CanBeCreated
DirectoryEqualToMaxDirectory_CanBeCreatedAllAtOnce
DirectoryLongerThanMaxDirectoryAsPath_Succeeds
DirectoryLongerThanMaxLongPathWithExtendedSyntax_ThrowsPathTooLongException
DirectoryLongerThanMaxLongPath_ThrowsPathTooLongException
DirectoryLongerThanMaxPath_Succeeds
DirectoryWithComponentLongerThanMaxComponentAsPath_ThrowsPathTooLongException
DotDotIsParentDirectory
DotIsCurrentDirectory
DriveLetter_Unix
DriveLetter_Windows
EmptyAsPath_ThrowsArgumentException
ExtendedDirectoryLongerThanLegacyMaxPath_Succeeds
NonExistentDriveAsPath_ThrowsDirectoryNotFoundException
NotReadyDriveAsPath_ThrowsDirectoryNotFoundException
NullAsPath_ThrowsArgumentNullException
PathAlreadyExistsAsDirectory
PathAlreadyExistsAsFile
PathWithAlternateDataStreams_ThrowsNotSupportedException
PathWithInvalidCharactersAsPath_ThrowsArgumentException
PathWithInvalidColons_ThrowsNotSupportedException
PathWithReservedDeviceNameAsExtendedPath
PathWithReservedDeviceNameAsPath_ThrowsDirectoryNotFoundException
RootPath
SubdirectoryOnNonExistentDriveAsPath_ThrowsDirectoryNotFoundException
SubdirectoryOnNotReadyDriveAsPath_ThrowsIOException
UNCPathWithOnlySlashes
UncPathWithoutShareNameAsPath_ThrowsArgumentException
UnixNonSignificantTrailingWhiteSpace
UnixPathLongerThan256_Allowed
UnixPathWithDeeplyNestedDirectories
UnixWhiteSpaceAsPath_Allowed
ValidExtendedPathWithTrailingSlash
ValidPathWithMultipleSubdirectories
ValidPathWithTrailingSlash
ValidPathWithoutTrailingSlash
WindowsExtendedSyntaxWhiteSpace
WindowsTrailingWhiteSpace
WindowsWhiteSpaceAsPath_ThrowsArgumentException