Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Searches the collection for an item with the specified key and returns it if it is found.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
value As TKeyType _
) As TItemType
Get
public TItemType this[
TKeyType value
] { get; }
public:
property TItemType default[TKeyType value] {
TItemType get (TKeyType value);
}
member Item : 'TItemType
JScript does not support indexed properties.
Parameters
- value
Type: TKeyType
The key of the item to find.
Property Value
Type: TItemType
A TItemType with the specified key. If not found, this property throws an exception.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | value is nulla null reference (Nothing in Visual Basic). |
ArgumentException | value is not found. |
.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
ModelMemberCollection<TItemType, TKeyType> Class
Microsoft.Windows.Design.Model Namespace