Export (0) Print
Expand All

TempFileCollection.BasePath Property

Gets the full path to the base file name, without a file name extension, on the temporary directory path, that is used to generate temporary file names for the collection.

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

Property Value

The full path to the base file name, without a file name extension, on the temporary directory path, that is used to generate temporary file names for the collection.

Exceptions

Exception Type Condition
SecurityException If the BasePath property has not been set or is set to a null reference (Nothing in Visual Basic), and AllAccess is not granted for the temporary directory indicated by the TempDir property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TempFileCollection Class | TempFileCollection Members | System.CodeDom.Compiler Namespace

Show:
© 2014 Microsoft