DirectoryAttribute.GetValues Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: