XmlSchemaValidator.LineInfoProvider 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 line number information for the XML node being validated.
public:
property System::Xml::IXmlLineInfo ^ LineInfoProvider { System::Xml::IXmlLineInfo ^ get(); void set(System::Xml::IXmlLineInfo ^ value); };
public System.Xml.IXmlLineInfo LineInfoProvider { get; set; }
member this.LineInfoProvider : System.Xml.IXmlLineInfo with get, set
Public Property LineInfoProvider As IXmlLineInfo
Property Value
An IXmlLineInfo object.
Remarks
Line information is reported by any XmlSchemaValidationException thrown during the validation process.
The default IXmlLineInfo object returned by the LineInfoProvider property returns 0 for the LineNumber and LinePosition properties.
Applies to
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.