XmlSchemaAttribute | System.Xml.Schema (system.xml.dll) class |
public class XmlSchemaAttribute : XmlSchemaAnnotated {
// Public Constructors
public XmlSchemaAttribute( );
// Public Instance Properties
public object AttributeType{get; }
public string DefaultValue{set; get; }
public string FixedValue{set; get; }
public XmlSchemaForm Form{set; get; }
public string Name{set; get; }
public XmlQualifiedName QualifiedName{get; }
public XmlQualifiedName RefName{set; get; }
public XmlSchemaSimpleType SchemaType{set; get; }
public XmlQualifiedName SchemaTypeName{set; get; }
public XmlSchemaUse Use{set; get; }
} | |
This type
represents the xs:attribute element, which is used
to define an XML attribute. Its DefaultValue,
Form, FixedValue, and
Use properties provide access to the
default, form,
fixed, and use attributes. The
Name and RefName properties
provide two ways to access the name attribute;
either as a string or as a
System.Xml.XmlQualifiedName representing the name
of an attribute defined in this schema or elsewhere, when given a
namespace prefix. The SchemaType and
SchemaTypeName properties provide two ways to
access the type attribute; either as an
XmlSchemaSimpleType instance defined in this
schema or as a System.Xml.XmlQualifiedName. After
compilation, the AttributeType property provides
read-only access to the CLR type based on the type
attribute, and the QualifiedName property provides
read-only access to the qualified name of the attribute.
Hierarchy
System.Object XmlSchemaObject
XmlSchemaAnnotated
XmlSchemaAttribute
|