ComponentOne DynamicHelp for WinForms
C1.Win.C1DynamicHelp.4.5.2 Assembly / C1.Win.C1DynamicHelp Namespace / TopicMap Class / Item Property
The UI element of the value to get or set.

In This Topic
    Item Property (TopicMap)
    In This Topic
    Gets or sets the value associated with the specified key.
    Syntax
    'Declaration
     
    Public Shadows Default Property Item( _
       ByVal uiElement As System.Object _
    ) As MapItem
    public new MapItem this[ 
       System.object uiElement
    ]; {get; set;}

    Parameters

    uiElement
    The UI element of the value to get or set.

    Property Value

    The value associated with the specified key. If the specified key is not found, a get operation throws a System.Collections.Generic.KeyNotFoundException, and a set operation creates a new element with the specified key.
    Exceptions
    ExceptionDescription
    The property is retrieved and key does not exist in the collection.
    key is null.
    See Also