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
- key
Type: System.Object
An object 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.
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