Creates a directory with the specified name.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Sub CreateDirectory ( _
strNewName As String _
)
'使用
Dim instance As FolderNode
Dim strNewName As String
instance.CreateDirectory(strNewName)
public virtual void CreateDirectory(
string strNewName
)
public:
virtual void CreateDirectory(
String^ strNewName
)
public function CreateDirectory(
strNewName : String
)
Parameters
strNewName
Type: System.StringThe directory to create.
Remarks
If the specified directory does not exist, this method creates it.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.