KeyedByTypeCollection(Of TItem).GetKeyForItem Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the type of an item contained in the collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- item
- Type: TItem
The item in the collection whose type is to be retrieved.
| Exception | Condition |
|---|---|
| ArgumentNullException | item is Nothing. |
Show: