IADsLargeInteger Property Methods

The property methods of the IADsLargeInteger interface get and set the properties described in the following table. For more information, see Interface Property Methods.

Properties

HighPart

The high part of the integer.

Access type: Read/write

Scripting data type: LONG

// C++ method syntax
HRESULT get_HighPart(
  [out] LONG* retval
);
HRESULT put_HighPart(
  [in] LONG lnHighPart
);

LowPart

The low part of the integer.

Access type: Read/write

Scripting data type: LONG

// C++ method syntax
HRESULT get_LowPart(
  [out] LONG* retval
);
HRESULT put_LowPart(
  [in] LONG lnLowPart
);

Remarks

If largeInt is of the LargeInteger type, its value is specified by those of HighPart and LowPart according to the following formula.

largeInt = HighPart * 2^32 + LowPart

Examples

The following Visual Basic code example sets a large integer to 43937327281.

Dim LI As New LargeInteger
LI.HighPart = 10
LI.LowPart = 987654321

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Iads.h
DLL
Activeds.dll
IID
IID_IADsLargeInteger is defined as 9068270B-0939-11D1-8BE1-00C04FD8D503

See also

IADsLargeInteger