Name
XmlSchemaElement — System.Xml.Schema (system.xml.dll) class
Synopsis
public class XmlSchemaElement : XmlSchemaParticle { // Public Constructors public XmlSchemaElement( ); // Public Instance Properties public XmlSchemaDerivationMethod Block{set; get; } public XmlSchemaDerivationMethod BlockResolved{get; } public XmlSchemaObjectCollection Constraints{get; } public string DefaultValue{set; get; } public object ElementType{get; } public XmlSchemaDerivationMethod Final{set; get; } public XmlSchemaDerivationMethod FinalResolved{get; } public string FixedValue{set; get; } public XmlSchemaForm Form{set; get; } public bool IsAbstract{set; get; } public bool IsNillable{set; get; } public string Name{set; get; } public XmlQualifiedName QualifiedName{get; } public XmlQualifiedName RefName{set; get; } public XmlSchemaType SchemaType{set; get; } public XmlQualifiedName SchemaTypeName{set; get; } public XmlQualifiedName SubstitutionGroup{set; get; } }
This type represents
the xs:element
element as a global or local
definition, as a reference, or within xs:all
,
although in each of these cases, the valid values of its properties
can differ. It provides the definition of an element. Its
Block
, DefaultValue
,
Final
, FixedValue
,
Form
, IsAbstract
,
IsNillable
, Name
,
RefNameSchemaType
, and
SubstitutionGroup
properties provide access to the
block
, default
,
final
, fixed
,
form
, abstract
,
nillable
, name
,
ref
, type
, and
substitutionGroup
attributes, respectively.
Constraints
returns an ...
Get .NET & XML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.