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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.