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

Property Description
HighPart

[Visual Basic]
Access: Read/Write
DataType: Long

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

The high part of the integer.
LowPart

[Visual Basic]
Access: Read/Write
DataType: Long

[C++]
HRESULT get_LowPart
([out] LONG* retval);
HRESULT put_LowPart
([in] 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 * 2^32 + LowPart

Example Code [Visual Basic]

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

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

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

IADsLargeInteger