IPeekResultFactory::Create Method (IPeekResultDisplayInfo2^, ImageMoniker, String^, Int32, Int32, 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(
	IPeekResultDisplayInfo2^ displayInfo,
	ImageMoniker image,
	String^ filePath,
	int startLine,
	int startIndex,
	int endLine,
	int endIndex,
	int idStartLine,
	int idStartIndex,
	int idEndLine,
	int idEndIndex
)

Parameters

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

Defines properties used for displaying this result to the user.

image
Type: Microsoft.VisualStudio.Imaging.Interop::ImageMoniker

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.

idStartLine
Type: System::Int32

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

idStartIndex
Type: System::Int32

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

idEndLine
Type: System::Int32

Line number of the result's identifying span's end position.

idEndIndex
Type: System::Int32

Character index of the result's identifying span's end position.

Return to top
Show: