XmlSchemaAttributeGroup.Name 属性

定义

获取或设置属性组的名称。Gets or sets the name of the attribute group.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string? Name { get; set; }
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

属性值

String

属性组的名称。The name of the attribute group.

注解

该名称必须是 NCName (任意冒号名称) ,如 W3C XML 命名空间规范中所定义。The name must be an NCName (no-colon name) as defined in the W3C XML Namespaces specification. complexTypeattributeGroup 元素包含属性组时,该元素的名称 attributeGroup 将用于 ref 特性。When a complexType or attributeGroup element includes an attribute group, the name of the attributeGroup element is used for the ref attribute. 此值必须是 NCName。This value must be an NCName.

适用于