XmlSchemaGroupRef 类
定义
按万维网联合会 (W3C)指定的方式表示来自 XML 架构的具有 ref 属性的 group 元素。Represents the group element with ref attribute from the XML Schema as specified by the World Wide Web Consortium (W3C). 此类在复杂类型中使用,而这些复杂类型引用在 group 级别定义的 schema。This class is used within complex types that reference a group defined at the schema level.
public ref class XmlSchemaGroupRef : System::Xml::Schema::XmlSchemaParticle
public class XmlSchemaGroupRef : System.Xml.Schema.XmlSchemaParticle
type XmlSchemaGroupRef = class
inherit XmlSchemaParticle
Public Class XmlSchemaGroupRef
Inherits XmlSchemaParticle
- 继承
示例
XmlSchemaGroup有关使用此类的示例,请参阅。See XmlSchemaGroup for an example using this class.
构造函数
| XmlSchemaGroupRef() |
初始化 XmlSchemaGroupRef 类的新实例。Initializes a new instance of the XmlSchemaGroupRef class. |
属性
| Annotation |
获取或设置 |
| Id |
获取或设置字符串 ID。Gets or sets the string id. (继承自 XmlSchemaAnnotated) |
| LineNumber |
获取或设置 |
| LinePosition |
获取或设置 |
| MaxOccurs |
获取或设置粒子可发生的最大次数。Gets or sets the maximum number of times the particle can occur. (继承自 XmlSchemaParticle) |
| MaxOccursString |
获取设置字符串值形式的数字。Gets or sets the number as a string value. 粒子可发生的最大次数。Maximum number of times the particle can occur. (继承自 XmlSchemaParticle) |
| MinOccurs |
获取或设置粒子可发生的最小次数。Gets or sets the minimum number of times the particle can occur. (继承自 XmlSchemaParticle) |
| MinOccursString |
获取设置字符串值形式的数字。Gets or sets the number as a string value. 粒子可发生的最小次数。The minimum number of times the particle can occur. (继承自 XmlSchemaParticle) |
| Namespaces |
获取或设置用于此架构对象的 XmlSerializerNamespaces。Gets or sets the XmlSerializerNamespaces to use with this schema object. (继承自 XmlSchemaObject) |
| Parent |
获取或设置此 XmlSchemaObject 的父级。Gets or sets the parent of this XmlSchemaObject. (继承自 XmlSchemaObject) |
| Particle |
获取 XmlSchemaChoice 类、XmlSchemaAll 类或 XmlSchemaSequence 类中的一个,这些类保存 |
| RefName |
获取或设置在此架构(或指定命名空间指示的其他架构)中定义的组的名称。Gets or sets the name of a group defined in this schema (or another schema indicated by the specified namespace). |
| 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() |
获取当前实例的 Type。Gets 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) |