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
- key
Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem that represents the key to an item in the ModelItemDictionary.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace