Partager via


PeekResultDisplayInfo2 Class

Definition

Defines the first character's index of the "interesting" token in the label. For instance, if peek references was triggered on a method, this would be the first character's index in the label that contains the method name. This index is bound to IPeekResultDisplayInfo.Label. It has nothing to do with the span of text that initialized peek.

public ref class PeekResultDisplayInfo2 : Microsoft::VisualStudio::Language::Intellisense::PeekResultDisplayInfo, IDisposable, Microsoft::VisualStudio::Language::Intellisense::IPeekResultDisplayInfo2
public class PeekResultDisplayInfo2 : Microsoft.VisualStudio.Language.Intellisense.PeekResultDisplayInfo, IDisposable, Microsoft.VisualStudio.Language.Intellisense.IPeekResultDisplayInfo2
type PeekResultDisplayInfo2 = class
    inherit PeekResultDisplayInfo
    interface IPeekResultDisplayInfo2
    interface IPeekResultDisplayInfo
    interface IDisposable
Public Class PeekResultDisplayInfo2
Inherits PeekResultDisplayInfo
Implements IDisposable, IPeekResultDisplayInfo2
Inheritance
PeekResultDisplayInfo2
Implements

Constructors

PeekResultDisplayInfo2(String, Object, String, String, Int32, Int32)

Creates new instance of the PeekResultDisplayInfo2 class.

Properties

Label

Defines the localized label used for displaying this result to the user. This value will be used to represent IPeekResult in the Peek control's result list.

(Inherited from PeekResultDisplayInfo)
LabelTooltip

Defines the localized label tooltip used for displaying this result to the user.

(Inherited from PeekResultDisplayInfo)
LengthOfTokenInLabel

Defines 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.

StartIndexOfTokenInLabel

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

Title

Defines the localized title used for displaying this result to the user.

(Inherited from PeekResultDisplayInfo)
TitleTooltip

Defines the localized title tooltip used for displaying this result to the user.

(Inherited from PeekResultDisplayInfo)

Methods

Dispose()

Disposes the PeekResultDisplayInfo instance.

(Inherited from PeekResultDisplayInfo)

Applies to