Salesforce

VariantType (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

VariantType (Magic xpa 4.x)

Retrieves the variant data type's storage type identifier.

Syntax:

VariantType(variant value)

Parameters:

variant value – A BLOB value storing the variant data type. See Variant Storage Types.

Returns:

The variant storage type identifier. If the BLOB value is not a valid variant, the function returns Null.

Example:

VariantType(B) returns 20 when the data type is VT_I8.

Exceptions:

This function is not supported for Rich Client tasks.

See also:

How Do I Determine the Type and Corresponding Magic xpa Attribute of a Variant Value Belonging to a COM Object?

The Online Samples project (program CS05)

Reference
Attachment 
Attachment