Platform SDK: Exchange 2000 Server

Fields Property

[This is preliminary documentation and subject to change.]

Returns an ADO Fields interface on an ADO Fields collection object. The object contains the resource fields associated with a message.

[Visual Basic,VBScript]
Property Fields As ADODB.Fields
read-only
[C++]
HRESULT get_Fields(Fields** pVal);
[IDL]
HRESULT [propget] Fields([out,retval] Fields** pVal);

Remarks

The ADO Fields object is a collection of ADO Field objects that pertain to this object. Each Field object holds a name/value pair defining some header field for the body part. 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 various VARIANT subtypes for each field.

The fields that resize in this collection depend upon the specific implementation. Consult the appropriate COM class for details about available fields.

Example

[Visual Basic]
Dim myAppt As New Appointment
Dim Flds As ADODB.Fields
Set Flds = myAppt.Fields

With Flds
.Item("xxx") = "zzz"
.Update
End With