Configuration.FilePath 속성

정의

Configuration 개체가 나타내는 구성 파일에 대한 실제 경로를 가져옵니다.

public:
 property System::String ^ FilePath { System::String ^ get(); };
public string FilePath { get; }
member this.FilePath : string
Public ReadOnly Property FilePath As String

속성 값

Configuration 개체가 나타내는 구성 파일에 대한 실제 경로입니다.

예제

다음 코드 예제를 사용 하는 방법에 설명 합니다 FilePath 속성입니다.

string filePath = config.FilePath;
Console.WriteLine("File path: {0}", filePath);
Dim filePath As String = config.FilePath
Console.WriteLine("File path: {0}", filePath)

설명

하는 경우이 값 FilePath 속성 병합 된 뷰를 나타내고 애플리케이션에 대 한 실제 파일이 없으면, 부모 구성 파일의 경로를 반환 됩니다.

적용 대상