5D艺术网首页
商城
|
资讯
|
作品
|
博客
|
教程
|
论坛
登录
注册
加为好友
发短消息
来自:地球
性别:先生
最后登录:2015-09-16
http://linux.5d.cn/
俱网矣,数风流人物还看今朝!!
首页
|
新闻
|
话题
|
博客
|
相册
|
艺术作品
|
社交关系
|
留言板
|
社交圈
2004/10/26 | VC中比较恶心的类型,也是最基本最常用的类型列表
类别(VC++天地)
|
评论
(0)
|
阅读(404)
|
发表于 08:28
All of these constructors create new COleVariant objects initialized to the specified value. A brief description of each of these constructors follows.
• COleVariant( ) Creates an empty COleVariant object, VT_EMPTY.
• COleVariant( varSrc ) Copies an existing VARIANT or COleVariant object. The variant type is retained.
• COleVariant( pSrc ) Copies an existing VARIANT or COleVariant object. The variant type is retained.
• COleVariant( lpszSrc ) Copies a string into the new object, VT_BSTR (UNICODE).
• COleVariant( lpszSrc, vtSrc ) Copies a string into the new object. The parameter vtSrc must be VT_BSTR (UNICODE) or VT_BSTRT (ANSI).
• COleVariant( strSrc ) Copies a string into the new object, VT_BSTR (UNICODE).
• COleVariant( nSrc ) Copies an 8-bit integer into the new object, VT_UI1.
• COleVariant( nSrc, vtSrc ) Copies a 16-bit integer (or Boolean value) into the new object. The parameter vtSrc must be VT_I2 or VT_BOOL.
• COleVariant( lSrc, vtSrc ) Copies a 32-bit integer (or SCODE value) into the new object. The parameter vtSrc must be VT_I4, VT_ERROR, or VT_BOOL.
• COleVariant( curSrc ) Copies a COleCurrency value into the new object, VT_CY.
• COleVariant( fltSrc ) Copies a 32-bit floating-point value into the new object, VT_R4.
• COleVariant( dblSrc ) Copies a 64-bit floating-point value into the new object, VT_R8.
• COleVariant( dateSrc ) Copies a COleDateTime value into the new object, VT_DATE.
• COleVariant( arrSrc ) Copies a CByteArray object into the new object, VT_EMPTY.
• COleVariant( lbSrc ) Copies a CLongBinary object into the new object, VT_EMPTY.
0
评论
Comments
日志分类
首页
[562]
版主介绍
[6]
LINUX乐园
[2]
VC++天地
[30]
网络应用
[65]
外语沙龙
[29]
酷图欣赏
[81]
心情故事
[175]
开心灌吧
[157]
影音天地
[9]
电子乐园
[8]