CompilationSection.TempDirectory Egenskap

Definition

Hämtar eller anger ett värde som anger vilken katalog som ska användas för tillfällig fillagring under kompilering.

public:
 property System::String ^ TempDirectory { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("tempDirectory", DefaultValue="")]
public string TempDirectory { get; set; }
[<System.Configuration.ConfigurationProperty("tempDirectory", DefaultValue="")>]
member this.TempDirectory : string with get, set
Public Property TempDirectory As String

Egenskapsvärde

Ett värde som anger den katalog som ska användas för tillfällig fillagring under kompileringen.

Attribut

Exempel

Följande kodexempel visar hur du använder egenskapen TempDirectory . Det här kodexemplet är en del av ett större exempel för CompilationSection klassen.

// Display TempDirectory property.
Console.WriteLine("TempDirectory: {0}", configSection.TempDirectory);

// Set TempDirectory property.
configSection.TempDirectory = "myTempDirectory";
' Display TempDirectory property.
Console.WriteLine("TempDirectory: {0}", _
 configSection.TempDirectory)

' Set TempDirectory property.
configSection.TempDirectory = "myTempDirectory"

Gäller för