System.VarUtils.SafeArrayGetUBound

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SafeArrayGetUBound; external oleaut name 'SafeArrayGetUBound';

C++

extern "C" HRESULT __stdcall SafeArrayGetUBound(System::PVarArray VarArray, int Dim, /* out */ int &UBound);

Properties

Type Visibility Source Unit Parent
function external public
System.VarUtils.pas
System.VarUtils.hpp
System.VarUtils System.VarUtils

Description

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

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

See Also