Webmasters, gagnez de l'argent en affichant des bannières contextuelles Oxado
SourceForge.net Logo
Support This Project Free Downloads
WABAccess Project
Welcome ! [ Home ]  ·  [ Downloads ]  ·  [ Forums ]  ·  [ News ]  ·  [ Documentations ]  
[ Home ]

[ Documentations ]

Value Property


The Value property returns or set the value of a property object.

Syntax :

objProperty.Value

Name Type RO / RW Object
Value Variant Read Write Property
Parameters :

None.

Return Value :

On successful return a Variant value which is the value of the property object. 

Details :

The value take or return a Variant type. A conversion must be made between the Variant type and MAPI type. The conversion type are as follows :

Type Variant Type MAPI Type Description
String() VT_BSTR | VT_ARRAY PT_MV_STRING8
PT_MV_UNICODE
An array of string value.
Array of Binary data VT_BSTR | VT_ARRAY PT_MV_BINARY An array of binary data value. A binary data is converted to hexadecimal string value.
Integer() VT_I2 | VT_ARRAY PT_MV_I2 An array of integer value.
Long() VT_I4 | VT_ARRAY PT_MV_I4 An array of long value.
Single() VT_R4 | VT_ARRAY PT_MV_R4 An array of single-precision floating-point value.
Double() VT_R8 | VT_ARRAY PT_MV_R8 An array of double-precision floating-point value.
Currency() VT_CY | VT_ARRAY PT_MV_CURRENCY An array of currency value.
Date() VT_DATE | VT_ARRAY PT_MV_APPTIME
PT_MV_SYSTIME
An array of date or time value.
String VT_BSTR PT_STRING8
PT_UNICODE
A string value.
Binary data VT_BSTR PT_BINARY A binary data value. A binary data is converted to hexadecimal string value.
Integer VT_I2 PT_I2 An integer value.
Long VT_I4 PT_I4 A long value.
Single VT_R4 PT_R4 A single-precision floating-point value.
Double VT_R8 PT_R8 A double-precision floating-point value.
Currency VT_CY PT_CURRENCY A currency value.
Date VT_DATE PT_SYSTIME
PT_APPTIME
A date or time value.
Boolean VT_BOOL PT_BOOLEAN A boolean value.
Error VT_ERROR PT_ERROR An error value.
Empty or Null VT_EMPTY PT_NULL An unitialized value.
Example :
Dim objProperty, vValue

vValue = objProperty.Value
objProperty.Value = "new string value"

WABAccess