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
- endpointAddress
Type: System. . :: . .String
The endpoint address of the DpwsServiceDescription to locate in the collection.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.