CompilationSection.TempDirectory 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
컴파일 중에 임시 파일 스토리지에 사용할 디렉터리를 지정하는 값을 가져오거나 설정합니다.
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
속성 값
컴파일 중에 임시 파일 스토리지에 사용할 디렉터리를 지정하는 값입니다.
- 특성
예제
다음 코드 예제에서는 속성을 사용 하는 방법을 보여 줍니다 TempDirectory . 이 코드 예제는 클래스에 제공된 더 큰 예제의 CompilationSection 일부입니다.
// 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"