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

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,
	int startLine,
	int startIndex,
	int endLine,
	int endIndex,
	int idLine,
	int idIndex
)

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.

startLine
Type: System::Int32

Line number of the result location's start position.

startIndex
Type: System::Int32

Character index of the result location's start position.

endLine
Type: System::Int32

Line number of the result location's end position.

endIndex
Type: System::Int32

Character index of the result location's end position.

idLine
Type: System::Int32

Line number of the result's identifying position (e.g a position of method's name token).

idIndex
Type: System::Int32

Character index of the result's identifying position (e.g a position of method's name token).

Return to top
Show: