Επεξεργασία

Κοινή χρήση μέσω


DirectoryAttribute.GetValues(Type) Method

Definition

The GetValues(Type) method returns all values of the specified type.

public:
 cli::array <System::Object ^> ^ GetValues(Type ^ valuesType);
public object[] GetValues (Type valuesType);
member this.GetValues : Type -> obj[]
Public Function GetValues (valuesType As Type) As Object()

Parameters

valuesType
Type

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

Returns

Object[]

An array of Object objects that contain the values.

Exceptions

A value cannot be converted to valuesType.

valuesType must be either string or byte.

Applies to