Field

Represents a user-defined field in an AddressBookEntry, Document, or Message. In an AddressBookEntry or Document, it can also represent a predefined field.

Properties

The following table lists properties along with their access and descriptions.

Property

Access

Description

Application

R/O

Application. The Application object.

FieldDefinition

R/O

FieldDefinition. Defines the restrictions for this field.

FieldID

R/O

Long. Field identifier.

Name

R/O

String. The name of this Field. This property is case-sensitive and must match the Name property of an existing FieldDefinition object.

Parent

R/O

Fields collection. The Fields collection that owns this object.

Value

R/W

DEFAULT. VARIANT. The value of this Field. Can be a string, numeric, date, or binary value.

Methods

Delete()

Deletes a field from an AddressBookEntry, Document, or Message. Also deletes the field from its parent Fields collection. If you delete a field, the deletion will not be synchronized across a remote link.

Boolean Validate(VARIANT Value)

Returns TRUE if the given Value is a valid value for this field.

Remarks

A Field object is refreshed when its parent object is refreshed.