Silverlight SDK for Microsoft Bing
OpenSearchResult Method (result, newWindow)
OverviewMicrosoft.BingSearchEnvironmentOpenSearchResult(SearchResult, Boolean)
Opens a search result as content - If the search result links to a Silverlight supported format, then the result will be opened in a custom preview control. This includes Portable Networks Graphics images (.PNG), Joint Photgraphics Experts images (.JPG), which will be shown in an image preview Window control, and Windows Media Video which are shown in a video player window. All other types will act like a standard HTML hyperlink, opening the content in a window. The newWindow boolean arugment determines whether the content will be opened in a new window, or reuse the current window. The newWindow argument is ignored if the property AlwaysOpenInNewWindow is set to true.
Declaration Syntax
C#Visual BasicVisual C++
public void OpenSearchResult(
	SearchResult result,
	bool newWindow
)
Public Sub OpenSearchResult ( _
	result As SearchResult, _
	newWindow As Boolean _
)
public:
void OpenSearchResult(
	SearchResult^ result, 
	bool newWindow
)
Parameters
result (SearchResult)
The to open
newWindow (Boolean)
A boolean flag indicating whether the result is to opened in a new browser window or the current window

Assembly: Microsoft.Bing.Data (Module: Microsoft.Bing.Data) Version: 1.0.0.0 (1.0.0.0)