Export (0) Print
Expand All

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)

public string TempDirectory { get; set; }
/** @property */
public String get_TempDirectory ()

/** @property */
public void set_TempDirectory (String value)

public function get TempDirectory () : String

public function set TempDirectory (value : String)

Not applicable.

Property Value

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";

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft