XPathNavigator.XmlType 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 the XmlSchemaType information for the current node.
public:
virtual property System::Xml::Schema::XmlSchemaType ^ XmlType { System::Xml::Schema::XmlSchemaType ^ get(); };
public override System.Xml.Schema.XmlSchemaType? XmlType { get; }
public override System.Xml.Schema.XmlSchemaType XmlType { get; }
member this.XmlType : System.Xml.Schema.XmlSchemaType
Public Overrides ReadOnly Property XmlType As XmlSchemaType
Property Value
An XmlSchemaType object; default is null
.
Remarks
The following are important notes to consider when using the XmlType property.
The XmlType property is
null
, unless the Validity property of the SchemaInfo property of the XPathNavigator is set to XmlSchemaValidity.Valid.If this node is valid, the XmlType property is the same as the SchemaType property of the SchemaInfo property of the XPathNavigator, unless this node is a member of a union.
If this node is a member of a union, the XmlType property is the same as the MemberType property of the SchemaInfo property of this XPathNavigator.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기