Skip to main content
All docs
V21.1

MapBuilder.Key(String) Method

OBSOLETE

This Method is obsolete now.

Mirrors the client-side key option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[Obsolete("")]
public MapBuilder Key(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
MapBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Map()
    .Key("MyKey")
)
See Also