ServiceCollection.Add Method (Service)

 

Adds the specified Service to the end of the ServiceCollection.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

member Add : 
        service:Service -> int

Parameters

service
Type: System.Web.Services.Description.Service

The Service instance to add to the collection.

Return Value

Type: System.Int32

The zero-based index where the service parameter has been added.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: