Finds the associated value for the given key in the mapping or (re-)associates the given key with the value provided, removing previous associations.

Namespace: yWorks.Canvas.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
V this[ K key ] { get; set; }
Visual Basic
Default Property Item ( _ key As K _ ) As V Get Set

Parameters

key
Type: K
The key to use as the index.

Remarks

In order to remove an association the RemoveValue(K) method should be preferred over calling this method using a default value.

See Also