XmlSchemaComplexContentExtension 类

定义

按 WWW 联合会 (W3C) 指定的方式显示 extension 来自 XML 架构的元素。Represents the extension element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类用于通过扩展而派生的具有复杂内容模型的复杂类型。This class is for complex types with complex content model derived by extension. 它通过添加属性或元素扩展复杂类型。It extends the complex type by adding attributes or elements.

public ref class XmlSchemaComplexContentExtension : System::Xml::Schema::XmlSchemaContent
public class XmlSchemaComplexContentExtension : System.Xml.Schema.XmlSchemaContent
type XmlSchemaComplexContentExtension = class
    inherit XmlSchemaContent
Public Class XmlSchemaComplexContentExtension
Inherits XmlSchemaContent
继承
XmlSchemaComplexContentExtension

示例

有关使用此类的示例,请参阅 XmlSchemaComplexContentSee XmlSchemaComplexContent for an example using this class.

构造函数

XmlSchemaComplexContentExtension()

初始化 XmlSchemaComplexContentExtension 类的新实例。Initializes a new instance of the XmlSchemaComplexContentExtension class.

属性

Annotation

获取或设置 annotation 属性。Gets or sets the annotation property.

(继承自 XmlSchemaAnnotated)
AnyAttribute

获取或设置复杂内容模型的 XmlSchemaAnyAttribute 组件。Gets or sets the XmlSchemaAnyAttribute component of the complex content model.

Attributes

获取复杂内容的属性集合。Gets the collection of attributes for the complex content. 包含 XmlSchemaAttributeXmlSchemaAttributeGroupRef 元素。Contains XmlSchemaAttribute and XmlSchemaAttributeGroupRef elements.

BaseTypeName

获取或设置复杂类型(该类型由它进行扩展而派生)的名称。Gets or sets the name of the complex type from which this type is derived by extension.

Id

获取或设置字符串 ID。Gets or sets the string id.

(继承自 XmlSchemaAnnotated)
LineNumber

获取或设置 schema 元素引用的文件中的行号。Gets or sets the line number in the file to which the schema element refers.

(继承自 XmlSchemaObject)
LinePosition

获取或设置 schema 元素引用的文件中的行位置。Gets or sets the line position in the file to which the schema element refers.

(继承自 XmlSchemaObject)
Namespaces

获取或设置用于此架构对象的 XmlSerializerNamespacesGets or sets the XmlSerializerNamespaces to use with this schema object.

(继承自 XmlSchemaObject)
Parent

获取或设置此 XmlSchemaObject 的父级。Gets or sets the parent of this XmlSchemaObject.

(继承自 XmlSchemaObject)
Particle

获取或设置 XmlSchemaGroupRefXmlSchemaChoiceXmlSchemaAllXmlSchemaSequence 类之一。Gets or sets one of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes.

SourceUri

获取或设置加载了架构的文件的源位置。Gets or sets the source location for the file that loaded the schema.

(继承自 XmlSchemaObject)
UnhandledAttributes

获取或设置不属于当前架构目标命名空间的限定特性。Gets or sets the qualified attributes that do not belong to the current schema's target namespace.

(继承自 XmlSchemaAnnotated)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于