Edit

Share via


ContactEndpointCollection Class

Definition

Represents a collection of endpoint identifiers available to a signed in user.

public ref class ContactEndpointCollection : Microsoft::Lync::Model::Internal::UCWLite, System::Collections::Generic::ICollection<Microsoft::Lync::Model::ContactEndpoint ^>, System::Collections::Generic::IEnumerable<Microsoft::Lync::Model::ContactEndpoint ^>, System::Collections::Generic::IList<Microsoft::Lync::Model::ContactEndpoint ^>
public class ContactEndpointCollection : Microsoft.Lync.Model.Internal.UCWLite, System.Collections.Generic.ICollection<Microsoft.Lync.Model.ContactEndpoint>, System.Collections.Generic.IEnumerable<Microsoft.Lync.Model.ContactEndpoint>, System.Collections.Generic.IList<Microsoft.Lync.Model.ContactEndpoint>
type ContactEndpointCollection = class
    inherit UCWLite
    interface IList<ContactEndpoint>
    interface ICollection<ContactEndpoint>
    interface seq<ContactEndpoint>
    interface IEnumerable
Public Class ContactEndpointCollection
Inherits UCWLite
Implements ICollection(Of ContactEndpoint), IEnumerable(Of ContactEndpoint), IList(Of ContactEndpoint)
Inheritance
ContactEndpointCollection
Implements

Properties

Count

Returns number of items in the object.

InnerObject (Inherited from UCWBase)
IsReadOnly
Item[Int32]

Given an index, returns an item in the collection.

Methods

Add(ContactEndpoint)

Adds a contact endpoint to the contact endpoint collection.

Add(ContactEndpointType, String)

Creates a new ContactEndpoint of specified type and based on Uri and adds the new instance to the ContactEndpoint collection.

Clear()

Removes all contact endpoints from the collection.

Contains(ContactEndpoint)

Returns true if a contact endpoint collection contains a specified endpoint.

CopyTo(ContactEndpoint[], Int32)

CopyTo(Microsoft.Lync.Model.ContactEndpoint[],System.Int32)

GetEnumerator()
IndexOf(ContactEndpoint)

Return the index of the contact endpoint in the collection.

Insert(Int32, ContactEndpoint)
Remove(ContactEndpoint)

Removes the specified endpoint from the collection.

RemoveAt(Int32)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to