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

Expands the specified path to a fully qualified path.

[Visual Basic]
Public Shared Function GetFullPath( _
   ByVal path As String _
) As String
[C#]
public static string GetFullPath(
   string path
);
[C++]
public: static String* GetFullPath(
   String* path
);
[JScript]
public static function GetFullPath(
   path : String
) : String;

Parameters

path
The path to fully qualify.

Return Value

A string consisting of a drive letter, a colon, and a root relative path.

Exceptions

Exception Type Condition
ArgumentException path contains one of the characters within the InvalidPathChars array.
IOException An error occurs in an attempt to return the fully qualified path.
SecurityException The caller does not have the required permission.

Remarks

This method does not verify that the resulting path is valid or that it refers to an existing file or directory on the associated volume.

Requirements

NGWS Runtime Security:

EnvironmentPermission IsUnrestricted must be true.

See Also

Directory Class | Directory Members | System.IO Namespace