GetValues Method

DirectoryAttribute.GetValues Method (Type)

 

The GetValues method returns all values of the specified type.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public object[] GetValues(
	Type valuesType
)

Parameters

valuesType
Type: System.Type

A Type object that specifies the type of values to return.

Return Value

Type: System.Object[]

An array of Object objects that contain the values.

Exception Condition
NotSupportedException

A value cannot be converted to valuesType.

ArgumentException

valuesType must be either string or byte.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft