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 Function Find ( _
value As TKeyType _
) As TItemType
public TItemType Find(
TKeyType value
)
public:
TItemType Find(
TKeyType value
)
member Find :
value:'TKeyType -> 'TItemType
public function Find(
value : TKeyType
) : TItemType
Parameters
- value
Type: TKeyType
The key of the item to find.
Return Value
Type: TItemType
A TItemType with the specified key. If not found, this method returns nulla null reference (Nothing in Visual Basic).
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | value is 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
ModelMemberCollection<TItemType, TKeyType> Class
Microsoft.Windows.Design.Model Namespace