TempDirectory Property
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

CompilationSection.TempDirectory Property

 

Gets or sets a value that specifies the directory to use for temporary file storage during compilation.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("tempDirectory", DefaultValue = "")]
public string TempDirectory { get; set; }

Property Value

Type: System.String

A value specifying the directory to use for temporary file storage during compilation.

The following code example demonstrates how to use the TempDirectory property. This code example is part of a larger example provided for the CompilationSection class.

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

// Set TempDirectory property.
configSection.TempDirectory = "myTempDirectory";

.NET Framework
Available since 2.0
Return to top
Weergeven:
© 2016 Microsoft