NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Directory Constructor

Creates a new Directory object on the specified path.

[Visual Basic]
Public Sub New( _
   ByVal path As String _
)
[C#]
public Directory(
   string path
);
[C++]
public: Directory(
   String* path
);
[JScript]
public function Directory(
   path : String
);

Parameters

path
A string specifying the path on which to create the directory.

Exceptions

Exception Type Condition
ArgumentNullException path is null.
DirectoryNotFoundException The path is not found.
SecurityException The caller does not have the required permission.

Requirements

NGWS Runtime Security:

FileIOPermissionAccess AllAccess flag required for read, write, and append access to the path.

See Also

Directory Class | Directory Members | System.IO Namespace