Share via


ModelItemDictionary.Item Property (ModelItem)

When overridden in a derived class, gets or sets the item at the specified key.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Default Property Item ( _
    key As ModelItem _
) As ModelItem
    Get
    Set
public abstract ModelItem this[
    ModelItem key
] { get; set; }
public:
virtual property ModelItem^ default[ModelItem^ key] {
    ModelItem^ get (ModelItem^ key) abstract;
    void set (ModelItem^ key, ModelItem^ value) abstract;
}
abstract Item : ModelItem with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem representing the item at the specified key.

Implements

IDictionary<TKey, TValue>.Item[TKey]

Remarks

If there is no item for the specified key, this property returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ModelItemDictionary Class

Item Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture