IPeekResultPresentation::TryOpen Method (IPeekResult^)

Visual Studio 2015
 

Tries to open another IPeekResult while keeping the same presentation. For example document result presentation might check if otherResult represents a result in the same document and would reuse already open document.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

bool TryOpen(
	IPeekResult^ otherResult
)

Parameters

otherResult
Type: Microsoft.VisualStudio.Language.Intellisense::IPeekResult^

Another result to be opened.

Return Value

Type: System::Boolean

True if otherResult could be opened, false otherwise.

Return to top
Show: