CA_VariantInt
VARIANT CA_VariantInt (int intValue);
Purpose
Converts an integer value to a variant that contains the integer value.
Use CA_VariantInt to pass an integer value as a variant parameter.
Parameters
Input | ||
Name | Type | Description |
intValue | int | Value to store in the variant. |
Return Value
Name | Type | Description |
variant | VARIANT | Variant that contains the value in intValue. |
Additional Information
Library: ActiveX Library
Include file: cviauto.h
LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later
Example
Refer to userint\activex\3DGraphAxis.cws for an example of using the CA_VariantInt function.