Partager via


ValueCollection.ToIntegerArray Method

The ToIntegerArray method converts the ValueCollection into an array of integers.

Syntax

public Int64[] ToIntegerArray();
Public Function ToIntegerArray() As Int64[]

Parameters

This method has no parameters.

Return Value

Returns an array of Int64 values that contain the contents of the ValueCollection. Each member of this array contains the integer representation of each element of the ValueCollection.

Exceptions

Exception type Condition
InvalidOperationException

One or more of the values in the collection 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.ToInteger
ValueCollection

Send comments about this topic to Microsoft

Build date: 2/16/2009