Share via


IPeekResultPresenter.TryCreatePeekResultPresentation(IPeekResult) Method

Definition

Creates IPeekResultPresentation instance for the given IPeekResult.

public:
 Microsoft::VisualStudio::Language::Intellisense::IPeekResultPresentation ^ TryCreatePeekResultPresentation(Microsoft::VisualStudio::Language::Intellisense::IPeekResult ^ result);
public Microsoft.VisualStudio.Language.Intellisense.IPeekResultPresentation TryCreatePeekResultPresentation (Microsoft.VisualStudio.Language.Intellisense.IPeekResult result);
abstract member TryCreatePeekResultPresentation : Microsoft.VisualStudio.Language.Intellisense.IPeekResult -> Microsoft.VisualStudio.Language.Intellisense.IPeekResultPresentation
Public Function TryCreatePeekResultPresentation (result As IPeekResult) As IPeekResultPresentation

Parameters

result
IPeekResult

The Peek result for which to create a visual representation.

Returns

A valid IPeekResultPresentation instance or null if none could be created by this presenter.

Applies to