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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.