Compartilhar via


ScheduleMeetingButton Control

Use the ScheduleMeetingButton control in Microsoft Lync 2010 Control applications to open a Microsoft Outlook meeting invite dialog. The control is designed to mimic the functionality that is provided by the corresponding button on the Quick Connect toolbar of the ContactCard. Therefore,, it must be bound to a contact by using the Source property before it can be used. When clicked, it starts the Microsoft Outlook dialog to initiate the desired action with that contact. This button is not a general purpose Outlook integration tool. It is intended to be used together with other Lync Controls to provide a full set of collaboration options for interacting with a specific contact or distribution group.

ScheduleMeetingButton Control

Members

Notable ScheduleMeetingButton control public properties that are related to unified communications appear in the following table. For more information, see Lync 2010 Class Libraries References.

Property

Description

DisplayName

Gets the display name of the currently logged in user.

Source

Gets or sets the contact to use. Valid types include Contact and DistributionGroup objects, and String.

  • If the value is a string which does not contain the sip: or tel: prefix, the control will perform a search, using the string specified as a search criteria, and will load the first contact in the result set matching the specified string. This behavior is not deterministic, and yields the slowest performance.

  • If the value is a SIP URI string qualified by the sip: or tel: prefix, the contact will be loaded using an exact match of the specified URI. This behavior is deterministic, and yields better performance.

  • If the value is a Contact or DistributionGroup object, it will be used as-is. This behavior is deterministic, and yields the best performance.

ContextualInformation

This property is ignored. Gets or sets a data structure which contains information used to customize the information that accompanies messages. For more information on the use of contextual information, see the topics listed at Lync Extensibility API Contextual Conversations (Lync 2010 SDK).

Model

Reserved for internal use. This property may appear in XAML text when editing templates. To preserve control functionality it should remain unchanged.

Code Example

Sample code for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) appears in the following sections.

<StackPanel>
  <controls:ScheduleMeetingButton Source="sip:mary@contoso.com"/>
</StackPanel>

See Also

Other Resources

Lync 2010 Controls Reference

Lync 2010 Controls