|
Summary
Value of header field.
Description
The FieldValue property is used to set the field value in the OnEncodeField or
OnSetAddrField events. If UseProperty is set to True, the control will get the field value
from the FieldValue property, otherwise it will get the data from the Value
parameter. The UseProperty property should normally be set to False, and the Value
parameter should be used instead of this property. See the UseProperty for information on
when to use this property.
If used this property should be set in the OnEncodeField or OnSetAddrField events.
There is no default value for this property.
Example
Private Sub MIME_OnEncodeField(Value As String, Length As Integer, Charset As Integer,
Encoding As Integer)
If (initial)
Mime.FieldValue = "This file contains:"
Mime.FieldCharset = "us-ascii"
Mime.FieldEncoding = ADDR_NO_ENCODING
initial = False
Else
Mime.FieldValue = "lots of confidential information."
Mime.FieldCharset = "us-ascii"
Mime.FieldEncoding = ADDR_BASE64_ENCODING
End If
End Sub
|