IPeekResultFactory::Create Method (IPeekResultDisplayInfo^, Action^)

Visual Studio 2015
 

Creates an instance of IPeekResult that is not based on a location in a document, but can be browsed externally, for example a metadata class that can only be browsed in the Object Browser.

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

IExternallyBrowsablePeekResult^ Create(
	IPeekResultDisplayInfo^ displayInfo,
	Action^ browseAction
)

Parameters

displayInfo
Type: Microsoft.VisualStudio.Language.Intellisense::IPeekResultDisplayInfo^

Defines properties used for displaying this result to the user.

browseAction
Type: System::Action^

An action to browse the result externally (outside of Peek).

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense::IExternallyBrowsablePeekResult^

A valid instance of IExternallyBrowsablePeekResult.

Return to top
Show: