Share via


IndexOf Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Searches for a DpwsServiceDescription by endpoint address and returns the zero-based index of the first occurrence within the entire collection.

Namespace:  Dpws.Client.Discovery
Assembly:  MFDpwsClient (in MFDpwsClient.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    endpointAddress As String _
) As Integer
public int IndexOf(
    string endpointAddress
)
public:
int IndexOf(
    String^ endpointAddress
)
member IndexOf : 
        endpointAddress:string -> int 
public function IndexOf(
    endpointAddress : String
) : int

Parameters

Return Value

Type: System. . :: . .Int32
The zero-based index of the first occurrence of DpwsServiceDescription within the entire collection, if found; otherwise, -1.

.NET Framework Security

See Also

Reference

DpwsServiceDescriptions Class

Dpws.Client.Discovery Namespace