CComSafeArrayBound::SetLowerBound

调用此方法设置下限。

LONG SetLowerBound(
   LONG lLowerBound 
) throw( );

参数

  • lLowerBound
    下限。

返回值

返回 CComSafeArrayBound 对象的新下限。

备注

如果该数组将从Visual C++程序时,建议下限定义为0。使用不同的下限值,如果该数组将使用与其他语言可能优于(例如,Visual Basic。

该上限取决于组件和下限值的数字。例如,因此,如果下限为0,并且元素数为10,了上限将自动设置为9。

要求

Header: atlsafe.h

请参见

参考

CComSafeArrayBound选件类

CComSafeArrayBound::GetUpperBound

CComSafeArrayBound::GetLowerBound

CComSafeArrayBound::SetCount