Platform SDK: Exchange 2000 Server |
[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);
The Fields property obtains a collection of ADO Field objects each of which contains a field relating to for the message.
This example determines how many fields a message has:
Dim iMsg as New CDO.Message Dim collFields as Fields Set collFields = iMsg.Fields If collFields.Count = 0 Then MsgBox "Fields collection is empty" Else MsgBox "Message has " & collFields.Count & " fields" End If