Partager 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

Implements

IList<T>.IndexOf(T)

See Also

Reference

ContactEndpointCollection Class

ContactEndpointCollection Members

Microsoft.Lync.Model Namespace