XPathNavigator.SchemaInfo Egenskap

Definition

Hämtar schemainformationen som har tilldelats till den aktuella noden som ett resultat av schemavalidering.

public:
 virtual property System::Xml::Schema::IXmlSchemaInfo ^ SchemaInfo { System::Xml::Schema::IXmlSchemaInfo ^ get(); };
public virtual System.Xml.Schema.IXmlSchemaInfo? SchemaInfo { get; }
public virtual System.Xml.Schema.IXmlSchemaInfo SchemaInfo { get; }
member this.SchemaInfo : System.Xml.Schema.IXmlSchemaInfo
Public Overridable ReadOnly Property SchemaInfo As IXmlSchemaInfo

Egenskapsvärde

Ett IXmlSchemaInfo objekt som innehåller schemainformationen för den aktuella noden.

Kommentarer

Schemainformation kan anges på Element, eller på Attribute noder med en icke-Textnull. ValueType Om den aktuella noden inte är en av nodtyperna ovan, eller om instansen XPathNavigator inte rapporterar schemainformation, SchemaInfo returnerar nullegenskapen .

Gäller för