导航:  CWstrArray Class > Constructors >

Constructor (SAFEARRAYBOUND)

上一页返回章节概述下一页

描述

 

创建安全数组.

 

语法

 

CONSTRUCTOR CSafeArray ( _

  BYVAL cElements AS ULONG = 0, _

  BYVAL lLBound AS LONG = 0 _

)

 

参数

 

cElements

 

数组中的元素数[in, optional]

 

lLBound

 

[in, optional]下阵列的束缚.

用法示例

 

DIM cwsa AS CWstrArray = CWstrArray(3, 1)

 

引用文件

 

CWstrArray.inc