extends Field

extends Field

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The extends field specifies the names of base content classes that a child content class extends. Use this field when you define the class. This property is a multivalued string.

Full Name

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

Variant Subtype

[Visual Basic] Array of Variants (Strings)

[C++] VT_ARRAY | VT_VARIANT (VT_BSTR)

OLE DB Type

DBTYPE_VECTOR | DBTYPE_VARIANT (VT_BSTR)

Remarks

A content class can extend zero or more content classes. A child class definition inherits the properties defined by the base content classes it extends. If the class definition includes additional properties, these properties are listed in the element Field.

For example, you might want to define a set of custom content classes for each type of document in an application you create. You can set the extends field so that each class inherits the properties defined by the base urn:content-classes:document content class. This way, you do not have to list the properties that are already defined by this base content class. You can add your own custom property definitions to the element Field of the child class definition as necessary.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.