IPeekResultPresentation.TryOpen(IPeekResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.