Freigeben über


ContactBase.Source Property

Specifies a contact or distribution group to which this control should be bound.

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

Syntax

'Declaration
Public Property Source As Object
    Get
    Set
'Usage
Dim instance As ContactBase
Dim value As Object

value = instance.Source

instance.Source = value
public Object Source { get; set; }

Property Value

Type: System.Object

Exceptions

Exception Condition
ArgumentException

Thrown when an invalid object type is provided.

Remarks

Valid values for this property include: TypeValuestringSearch fragment, such as **[mary]**stringSIP URI, such as **[sip:mary@contoso.com]**ContactContact object, obtained using the Lync Platform API.DistributionGroupDistributionGroup object, obtained using the Lync Platform API.DistributionGroup These options are shown in increasing order of performance. If a search fragment is used, the control will perform a best-effort match (non-deterministic)

See Also

Reference

ContactBase Class

ContactBase Members

Microsoft.Lync.Controls Namespace