Value.ToInteger Method

The ToInteger method interprets the contents of the Value object as an Int64 value. If the value is binary, it is assumed to be little-endian.

Syntax

public Int64 ToInteger();
Public Function ToInteger() As Int64

Parameters

This method has no parameters.

Return Value

Returns an Int64 value that represents the contents of the Value object.

Exceptions

Exception type Condition
InvalidOperationException

The value cannot be converted to the specified data type.

Requirements

Product ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

Value

Send comments about this topic to Microsoft

Build date: 2/16/2009