IPeekResultFactory::Create Method (IPeekResultDisplayInfo^, String^, Span, Int32, Boolean)

Visual Studio 2015
 

Creates an instance of IPeekResult that is based on a location in a document.

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

IDocumentPeekResult^ Create(
	IPeekResultDisplayInfo^ displayInfo,
	String^ filePath,
	Span eoiSpan,
	int idPosition,
	bool isReadOnly
)

Parameters

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

Defines properties used for displaying this result to the user.

filePath
Type: System::String^

The fully qualified file path identifying the document where the result is located.

eoiSpan
Type: Microsoft.VisualStudio.Text::Span

Span of the entity of interest as a character offset from the start of the buffer.

idPosition
Type: System::Int32

Position of the identifying position as a character offset from the start of the buffer.

isReadOnly
Type: System::Boolean

Defines whether this result is read-only.

Return to top
Show: