This version of Unity is unsupported.

SearchItem.GetLabel

Declaration

public string GetLabel(Search.SearchContext context, bool stripHTML);

Parameters

context Any search context for the item search provider.
stripHTML True if any HTML tags should be dropped.

Returns

string The search item label.

Description

Fetch and format label.