Fields Property

Fields Property

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 property collection for the object. This property is read-only.

Applies To

IItem Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Property Fields As ADODB.Fields

[C++]HRESULT get_Fields(Fields** pVal);

Parameters

  • pVal
    Returns a reference to the Fields collection of the object.

Remarks

The properties for the item are stored in a Microsoft ActiveX Data Objects (ADO) Fields collection object. Each Field object holds a name/value pair defining some property of the item. The name is always a string, and the value is a VARIANT. The subtype of the VARIANT depends on the schema definition for the name. See the appropriate schema fields section of the reference for a list of valid fields to use along with a list of the VARIANT subtypes for each field.

Many fields available in this collection can be set or retrieved using a corresponding property on the IItem interface.

The fields used in this collection depend on the specific implementation. Consult the appropriate Component Object Model (COM) class or Distributed Authoring and Versioning (DAV):contentclass value for details about available fields.

Note  When you use the ADO Fields.Update method, field values are updated only in memory. You must call the Save Method to save the changes to the Exchange store. To get the IDataSource interface, use the GetInterface method on the Collaboration Data Objects (CDO) object.

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.