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

Gets the IXmlElementContext upon which this attribute is located.

IXmlElementContext Element { get; }

Property Value

IXmlElementContext:

The IXmlElementContext upon which this attribute is located.

Name

Gets the name of the attribute.

string Name { get; }

Property Value

string:

The name of the attribute.

NameSnapshotRange

Gets the TextSnapshotRange that specifies the range of the attribute name.

TextSnapshotRange NameSnapshotRange { get; }

Property Value

TextSnapshotRange:

The TextSnapshotRange that specifies the range of the attribute name.

Namespace

Gets the namespace that defines the attribute.

string Namespace { get; }

Property Value

string:

The namespace that defines the attribute.

NamespacePrefix

Gets the prefix of the namespace that defines the attribute.

string NamespacePrefix { get; }

Property Value

string:

The prefix of the namespace that defines the attribute.

QualifiedName

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

XmlQualifiedName QualifiedName { get; }

Property Value

XmlQualifiedName:

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

SchemaAttribute

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

XmlSchemaAttribute SchemaAttribute { get; }

Property Value

XmlSchemaAttribute:

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