ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>::Item Property (Type^)
.NET Framework (current version)
Gets the item of the specified type within the collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property TServiceModelExtensionElement default[ Type^ extensionType ] { TServiceModelExtensionElement get(Type^ extensionType); }
Parameters
- extensionType
-
Type:
System::Type^
The type of the item in the collection to retrieve.
Property Value
Type: TServiceModelExtensionElementA ServiceModelExtensionElement that represents the item located at the specified index within the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | extensionType is null. |
| ArgumentException | extensionType is invalid. |
.NET Framework
Available since 3.0
Available since 3.0
Show: