In This Article

IXmlAttributeContext Interface

Provides the base requirements for resolved information about a XML attribute related to an IXmlContext.

public interface IXmlAttributeContext

Properties

Element

The IXmlElementContext upon which this attribute is located.

IXmlElementContext Element { get; }

Property Value

IXmlElementContext

Name

The name of the attribute.

string? Name { get; }

Property Value

string

NameSnapshotRange

The TextSnapshotRange that specifies the range of the attribute name.

TextSnapshotRange NameSnapshotRange { get; }

Property Value

TextSnapshotRange

Namespace

The namespace that defines the attribute.

string? Namespace { get; }

Property Value

string

NamespacePrefix

The prefix of the namespace that defines the attribute.

string? NamespacePrefix { get; }

Property Value

string

QualifiedName

The System.Xml.XmlQualifiedName that contains the attribute's qualified name.

XmlQualifiedName QualifiedName { get; }

Property Value

XmlQualifiedName

SchemaAttribute

The resolved System.Xml.Schema.XmlSchemaAttribute for this attribute, if known.

XmlSchemaAttribute? SchemaAttribute { get; }

Property Value

XmlSchemaAttribute

Extension Methods