Share via


ModelItemDictionary.Item Property (Object)

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 Object _
) As ModelItem
    Get
    Set
public abstract ModelItem this[
    Object key
] { get; set; }
public:
virtual property ModelItem^ default[Object^ key] {
    ModelItem^ get (Object^ key) abstract;
    void set (Object^ 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.

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