Partilhar via


IPeekResultPresentation.TryOpen(IPeekResult) Method

Definition

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.

public:
 bool TryOpen(Microsoft::VisualStudio::Language::Intellisense::IPeekResult ^ otherResult);
public bool TryOpen (Microsoft.VisualStudio.Language.Intellisense.IPeekResult otherResult);
abstract member TryOpen : Microsoft.VisualStudio.Language.Intellisense.IPeekResult -> bool
Public Function TryOpen (otherResult As IPeekResult) As Boolean

Parameters

otherResult
IPeekResult

Another result to be opened.

Returns

true if succeeded in opening otherResult, false otherwise.

Applies to