通过


XmlSchemaAttributeGroupRef 类

定义

表示 attributeGroup 具有 ref万维网联盟(W3C)指定的 XML 架构中的属性的元素。 AttributesGroupRef 是 attributeGroup 的引用,名称属性包含所引用的属性组。

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

示例

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

注解

只能将属性组引用定义为或complexType元素的attributeGroup子级。 在这种情况下, ref 属性必须存在并包含引用的属性组的名称。

构造函数

名称 说明
XmlSchemaAttributeGroupRef()

初始化 XmlSchemaAttributeGroupRef 类的新实例。

属性

名称 说明
Annotation

获取或设置 annotation 属性。

(继承自 XmlSchemaAnnotated)
Id

获取或设置字符串 ID。

(继承自 XmlSchemaAnnotated)
LineNumber

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

(继承自 XmlSchemaObject)
LinePosition

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

(继承自 XmlSchemaObject)
Namespaces

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

(继承自 XmlSchemaObject)
Parent

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

(继承自 XmlSchemaObject)
RefName

获取或设置所 attributeGroup 引用元素的名称。

SourceUri

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

(继承自 XmlSchemaObject)
UnhandledAttributes

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

(继承自 XmlSchemaAnnotated)

方法

名称 说明
Equals(Object)

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

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

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

(继承自 Object)

适用于