XmlSchemaValidator.SourceUri 속성

정의

유효성을 검사할 XML 노드의 소스 URI를 가져오거나 설정합니다.

public:
 property Uri ^ SourceUri { Uri ^ get(); void set(Uri ^ value); };
public Uri? SourceUri { get; set; }
public Uri SourceUri { get; set; }
member this.SourceUri : Uri with get, set
Public Property SourceUri As Uri

속성 값

Uri

유효성을 검사할 XML 노드의 소스 URI를 나타내는 Uri 개체입니다. 기본값은 null입니다.

설명

  • 원본 URI는 유효성 검사 프로세스 중에 throw된 모든 XmlSchemaValidationException 에서 보고됩니다.

  • 속성이 SourceUri 설정되지 않은 경우 XML 문서의 파일 이름은 유효성 검사 오류 메시지에 있습니다 Empty .

적용 대상

추가 정보