Export (0) Print
Expand All

ContactSearch Control

Use the ContactSearch control in Microsoft Lync 2010 Control applications to display the ContactSearchInputBox and ContactSearchResultList controls together 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

Notable ContactSearch 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

SearchType

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

  • Skill

  • Name

ContextualInformation

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 Contextual Conversations.

MaxResults

The maximum number of results to return.

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

<StackPanel>
  <controls:ContactSearch/>
</StackPanel>
Show:
© 2015 Microsoft