FileSystemProxy.SpecialDirectories Property

Note: This property is new in the .NET Framework version 2.0.

Gets an object that provides properties for accessing commonly referenced directories.

Namespace: Microsoft.VisualBasic.MyServices
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

public SpecialDirectoriesProxy SpecialDirectories { get; }
/** @property */
public SpecialDirectoriesProxy get_SpecialDirectories ()

public function get SpecialDirectories () : SpecialDirectoriesProxy

Property Value

This property returns the My.Computer.FileSystem.SpecialDirectories Object for the computer.

For more detailed information, see the Visual Basic topic My.Computer.FileSystem.SpecialDirectories Property.

This property provides easy access to the My.Computer.FileSystem.SpecialDirectories Object.

This example returns the file path for the user's Desktop directory and displays it.

Dim filePath As String
filePath = My.Computer.FileSystem.SpecialDirectories.Desktop
MsgBox(filePath)

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: