XmlSchemaComplexContentExtension 类

定义

表示 extension 由万维网联盟 (W3C) 指定的 XML 架构中的元素。 此类适用于扩展派生的复杂内容模型的复杂类型。 它通过添加属性或元素来扩展复杂类型。

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

示例

有关使用此类的示例,请参阅 XmlSchemaComplexContent

构造函数

名称 说明
XmlSchemaComplexContentExtension()

初始化 XmlSchemaComplexContentExtension 类的新实例。

属性

名称 说明
Annotation

获取或设置 annotation 属性。

(继承自 XmlSchemaAnnotated)
AnyAttribute

获取或设置 XmlSchemaAnyAttribute 复杂内容模型的组件。

Attributes

获取复杂内容的属性集合。 包含 XmlSchemaAttributeXmlSchemaAttributeGroupRef 元素。

BaseTypeName

获取或设置此类型派生自扩展的复杂类型的名称。

Id

获取或设置字符串 ID。

(继承自 XmlSchemaAnnotated)
LineNumber

获取或设置元素引用的文件 schema 中的行号。

(继承自 XmlSchemaObject)
LinePosition

获取或设置元素引用的文件中 schema 的行位置。

(继承自 XmlSchemaObject)
Namespaces

获取或设置 XmlSerializerNamespaces 要用于此架构对象。

(继承自 XmlSchemaObject)
Parent

获取或设置此 XmlSchemaObject对象的父级。

(继承自 XmlSchemaObject)
Particle

获取或设置其中一个XmlSchemaGroupRefXmlSchemaChoiceXmlSchemaAllXmlSchemaSequence类。

SourceUri

获取或设置加载架构的文件的源位置。

(继承自 XmlSchemaObject)
UnhandledAttributes

获取或设置不属于当前架构的目标命名空间的限定属性。

(继承自 XmlSchemaAnnotated)

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于