Share via


ContactEndpointCollection.IndexOf method

Return the index of the contact endpoint in the collection.

Namespace:  Microsoft.Lync.Model
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    contactEndpoint As ContactEndpoint _
) As Integer
'Usage
Dim instance As ContactEndpointCollection
Dim contactEndpoint As ContactEndpoint
Dim returnValue As Integer

returnValue = instance.IndexOf(contactEndpoint)
public int IndexOf(
    ContactEndpoint contactEndpoint
)

Parameters

Return value

Type: System.Int32
int

Implements

IList<T>.IndexOf(T)

See also

Reference

ContactEndpointCollection class

ContactEndpointCollection members

Microsoft.Lync.Model namespace