ContactSearch control

Core concepts

Learn about the properties of the Microsoft Lync 2013 ContactSearch control.

Applies to: Lync 2013

In this article
Control overview
Members
Code example
Additional resources

Control overview

Use the ContactSearch control in Microsoft Lync Control applications to display the ContactSearchInputBox and ContactSearchResultList controls in the same location on a page. To display search results and search input in separate locations on a page, use the ContactSearchInputBox and ContactSearchResultList controls as separate controls.

ContactSearch

Members

Notable ContactSearch control public properties relating to unified communications appear in the following table. For a full list, see Lync 2013 class libraries reference.

Property

Description

SearchType property

Gets or sets the currently selected search type. The type is a SearchType enumeration. Possible values include:

  • Skill

  • Name

ContextualInformation property

Gets or sets a data structure that contains information used to customize the information that accompanies messages. For more information about using contextual information, see Contextual Lync conversations.

MaxResults property

The maximum number of results to return.

Code example

The following example can be used for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) application development.

<StackPanel>
  <controls:ContactSearch/>
</StackPanel>

See also