Raise this event to asynchronously to open any ItemURL returned from a Windows Desktop Search Query.

Namespace:  RedCritterDesktopSearchV1
Assembly:  RedCritterDesktopSearchV1 (in RedCritterDesktopSearchV1.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
event EventHandler<ShowItemEventArgs> ShowItem
Event ShowItem As EventHandler(Of ShowItemEventArgs)
 event EventHandler<ShowItemEventArgs^>^ ShowItem {
	void add (EventHandler<ShowItemEventArgs^>^ value);
	void remove (EventHandler<ShowItemEventArgs^>^ value);
}

Examples

The following example opens an item previously retrieved from a desktop search. In order for this call to succeed the ItemURL must have been retrieved during the current RedCritter session.

CopyC#
//Launch the item in it's native executable or viewer based on it's ItemURL value
ShowItem(this, new ShowItemEventArgs(MyItemURL));

See Also