ContactEndpointCollection ContactEndpointCollection 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>
Public Class ContactEndpointCollection
Inherits UCWLite
Implements ICollection(Of ContactEndpoint), IEnumerable(Of ContactEndpoint), IList(Of ContactEndpoint)
Inheritance
ContactEndpointCollectionContactEndpointCollectionContactEndpointCollection
Implements

Properties

Count Count Count

Returns number of items in the object.

InnerObject InnerObject InnerObject Inherited from UCWBase
IsReadOnly IsReadOnly IsReadOnly
Item[Int32] Item[Int32] Item[Int32]

Given an index, returns an item in the collection.

Methods

Add(ContactEndpoint) Add(ContactEndpoint) Add(ContactEndpoint)

Adds a contact endpoint to the contact endpoint collection.

Add(ContactEndpointType, String) Add(ContactEndpointType, String) Add(ContactEndpointType, String)

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

Clear() Clear() Clear()

Removes all contact endpoints from the collection.

Contains(ContactEndpoint) Contains(ContactEndpoint) Contains(ContactEndpoint)

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

CopyTo(ContactEndpoint[], Int32) CopyTo(ContactEndpoint[], Int32) CopyTo(ContactEndpoint[], Int32)

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

GetEnumerator() GetEnumerator() GetEnumerator()
IndexOf(ContactEndpoint) IndexOf(ContactEndpoint) IndexOf(ContactEndpoint)

Return the index of the contact endpoint in the collection.

Insert(Int32, ContactEndpoint) Insert(Int32, ContactEndpoint) Insert(Int32, ContactEndpoint)
Remove(ContactEndpoint) Remove(ContactEndpoint) Remove(ContactEndpoint)

Removes the specified endpoint from the collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Applies to