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;
A string consisting of a drive letter, a colon, and a root relative path.
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. |
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.
NGWS Runtime Security:
EnvironmentPermission | IsUnrestricted must be true. |