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 حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.