ServiceCollection.Contains Method (Service)
.NET Framework (current version)
Returns a value indicating whether the specified Service instance is a member of the ServiceCollection.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- service
-
Type:
System.Web.Services.Description.Service
The Service for which to check collection membership.
Return Value
Type: System.Booleantrue if the service parameter is a member of the ServiceCollection; otherwise, false.
.NET Framework
Available since 1.1
Available since 1.1
Show: