IPeekResultDisplayInfo2::StartIndexOfTokenInLabel Property

Visual Studio 2015
 

Gets the index of the first character of the "interesting" token in the label. For instance, if the Peek reference was triggered on a method, this would be the first character's index in the label that contains the method name.

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

property int StartIndexOfTokenInLabel {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The index of the first character of the "interesting" token in the label.

This index is bound to IPeekResultDisplayInfo.Label. It has nothing to do with the span of text that initialized peek.

Return to top
Show: