VARIANT datatype in C sharp?
-
Hi,
i am currently involved in converting VC code to C sharp code.
Here is the code from VC:[i]_variant_t varArray; varArray = pSampleData->GetDataBySample(-10, 10,AgtLA::AgtDataRaw, &numRowsRet);[/i]
Anyone know how can i convert the _variant_t type in C sharp?
Thanks in advance.
-
Hi,
You can use System.Object and convert it back via the is and as keywords.
-
witte schrieb:
Hi,
You can use System.Object and convert it back via the is and as keywords.
it works!!!!!!!
Thx!!!!!!!!