Share via


SpecialDirectories.MyPictures Vlastnost

Definice

Získá název cesty odkazující na adresář Obrázky.

public:
 static property System::String ^ MyPictures { System::String ^ get(); };
public static string MyPictures { get; }
static member MyPictures : string
Public Shared ReadOnly Property MyPictures As String

Hodnota vlastnosti

Cesta k adresáři Obrázky.

Výjimky

Cesta je prázdná, obvykle proto, že operační systém nepodporuje adresář.

Příklady

Tento příklad zobrazuje cestu k adresáři MyPictures v souboru MessageBox.

MsgBox(My.Computer.FileSystem.SpecialDirectories.MyPictures)

Poznámky

Objekt SpecialDirectories obsahuje cesty k běžně odkazovaným adresářům.

Platí pro

Viz také