RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarUtils.SafeArrayGetUBound Function

Returns the upper bound for the given dimension of a safe array.

Pascal
function SafeArrayGetUBound(VarArray: PVarArray; Dim: Integer; out UBound: Integer): HRESULT; stdcall;
C++
__stdcall HRESULT SafeArrayGetUBound(PVarArray VarArray, int Dim, int UBound);

Use SafeArrayGetUBound to obtain the upper bound for the dimension given through Dim of the safe array referenced by VarArray

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!