Platform SDK: Active Directory, ADSI, and Directory Services

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 in Vtable Order

Property Description
HighPart

[Visual Basic]
Access: Read/Write
Data Type: LONG

[C++]
HRESULT get_HighPart
(LONG
*retval);

HRESULT put_HighPart
(LONG
lnHighPart);

The high part of the integer.
LowPart

[Visual Basic]
Access: Read/Write
Data Type: LONG

[C++]
HRESULT get_LowPart
(LONG
*retval);

HRESULT put_LowPart
(LONG
lnLowPart);

The low part of the integer.

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 * 232 + LowPart

Example Code [Visual Basic]

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

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

See Also

IADsLargeInteger