Skip to main content
A newer version of this page is available. .

TokenBoxExtension.GetSelectedValues<T>(String) Method

Returns an array of the values of the TokenBox’s selected items.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public static T[] GetSelectedValues<T>(
    string name
)

Parameters

Name Type Description
name String

A string specifying the editor name.

Type Parameters

Name
T

Returns

Type Description
T[]

An array that contains zero or more T[] objects that are the values of the selected items.

Remarks

Use the GetSelectedValues<T> method to obtain an array of values of the selected items within a TokenBox.

TokenBoxExtension.GetSelectedValues<string[]>("myTokenBox")

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetSelectedValues<T>(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also