Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
System
IO
Tests
Directory_CreateDirectory
Create
System.IO.Tests.Directory_CreateDirectory.Create C# (CSharp) Method
Directory_CreateDirectory Class Documentation
显示文件
Open project: dotnet/corefx
Create()
public
method
public
Create
(
string
path
) :
DirectoryInfo
path
string
return
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