IPeekResultDisplayInfo2::LengthOfTokenInLabel Property

Visual Studio 2015
 

Gets the length of the "interesting" token in the label. For instance, if Peek references was triggered on a method, this would be the length of the method name.

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

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

Property Value

Type: System::Int32

The length 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: