다음을 통해 공유


ParserError.VirtualPath 속성

정의

오류가 발생할 때 구문 분석 중이었던 파일의 가상 경로를 가져오거나 설정합니다.

public:
 property System::String ^ VirtualPath { System::String ^ get(); void set(System::String ^ value); };
public string VirtualPath { get; set; }
member this.VirtualPath : string with get, set
Public Property VirtualPath As String

속성 값

String

파서 오류가 들어 있는 파일의 가상 경로를 지정하는 문자열입니다.

예제

다음 코드 예제에서는 개체의 VirtualPath 속성을 ParserError 채우는 방법을 보여 줍니다.

MyParserError.VirtualPath = "MyPath";
myParserError.VirtualPath = "MyPath"

적용 대상

추가 정보