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 で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET