다음을 통해 공유


element Field

Topic Last Modified: 2006-06-13

The element field specifies the names of property definition items that are associated with a content class. Use this field when you define the class. This property is a multivalued string.

Full Name

urn:schemas-microsoft-com:xml-data#element

Content Class

urn:content-classes:contentclassdef

Variant Subtype

 Array of Variants (Strings)

 VT_ARRAY | VT_VARIANT (VT_BSTR)

OLE DB Type

DBTYPE_VECTOR | DBTYPE_VARIANT (VT_BSTR)

Remarks

A child content class inherits the property definitions of the base content classes that it extends. You do not have to list these definitions in the element field of the child content class. However, any property listed in the element field overrides an inherited property with the same name.

For example, you might want to create a custom content class called urn:content-classes:myclass that includes all the property definitions of the urn:content-classes:item content class. You can set the extends Field of your class definition item to urn:content-classes:item. You can add your own custom property definitions to the element field as necessary.