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.Exists

Determines whether a directory exists.

[Visual Basic]
Overridable Public ReadOnly Property Exists As Boolean
[C#]
public bool Exists {override get;}
[C++]
public: __property virtual bool get_Exists();
[JScript]
public function get Exists() : Boolean;

Property Value

true if the directory exists, false otherwise.

Exceptions

Exception Type Condition
IOException Refresh() is unable to initialize the data.

See Also

Directory Class | Directory Members | System.IO Namespace