XmlSchemaDatatype.TokenizedType 属性

定义

当在派生类中重写时,获取在 WWW 联合会 (W3C) XML 1.0 规范中指定的 string 的类型。When overridden in a derived class, gets the type for the string as specified in the World Wide Web Consortium (W3C) XML 1.0 specification.

public:
 abstract property System::Xml::XmlTokenizedType TokenizedType { System::Xml::XmlTokenizedType get(); };
public abstract System.Xml.XmlTokenizedType TokenizedType { get; }
member this.TokenizedType : System.Xml.XmlTokenizedType
Public MustOverride ReadOnly Property TokenizedType As XmlTokenizedType

属性值

用于 XmlTokenizedTypestring 值。An XmlTokenizedType value for the string.

注解

允许将 string 作为特定 XML 类型(例如,CDATA 节类型)进行读取。Allows the string to be read as a particular XML type, for example, a CDATA section type.

下表显示了标记类型。The following table shows the token types.

XmlTokenizedTypeXmlTokenizedType 说明Description
CDATA CDATA 类型CDATA type
ID ID 类型ID type
IDREF IDREF 类型IDREF type
IDREFS IDREFS 类型IDREFS type
ENTITY 实体类型ENTITY type
ENTITIES 实体类型ENTITIES type
NMTOKEN NMTOKEN 类型NMTOKEN type
NMTOKENS NMTOKENS 类型NMTOKENS type
NOTATION NOTATION 类型NOTATION type
ENUMERATION 枚举类型ENUMERATION type
QName QName 类型QName type
NCName NCName 类型NCName type
None 无类型No type

适用于