Platform SDK: Exchange 2000 Server

Fields Property

[This is preliminary documentation and subject to change.]

The Fields collection for the object.

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

Remarks

The Fields property obtains a collection of ADO Field objects each of which contains a field relating to for the addressee.

Example

This example determines how many fields a message has:

Dim iAddr as New CDO.Addressee 
Dim collFields as Fields 
Set collFields = iAddr.Fields

If collFields.Count = 0 Then 
  MsgBox "Fields collection is empty" 
Else 
  MsgBox "Message has " & collFields.Count & " fields" 
End If