XmlSchemaValidator.SourceUri Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the source URI for the XML node being validated.
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
Property Value
A Uri object representing the source URI for the XML node being validated; the default is null
.
Remarks
The source URI is reported by any XmlSchemaValidationException thrown during the validation process.
If the SourceUri property is not set, the file name for the XML document is Empty in validation error messages.
Applies to
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.