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!

File.DirectoryName

Returns the name of the directory that the file is in.

[Visual Basic]
Public ReadOnly Property DirectoryName As String
[C#]
public string DirectoryName {get;}
[C++]
public: __property String* get_DirectoryName();
[JScript]
public function get DirectoryName() : String;

Property Value

A string representing the file's directory name.

See Also

File Class | File Members | System.IO Namespace