共用方式為


IPeekResultDisplayInfo2 Interface

Definition

Defines extensions to IPeekResultDisplayInfo to provide more information about an IPeekResult.

public interface class IPeekResultDisplayInfo2 : IDisposable, Microsoft::VisualStudio::Language::Intellisense::IPeekResultDisplayInfo
public interface IPeekResultDisplayInfo2 : IDisposable, Microsoft.VisualStudio.Language.Intellisense.IPeekResultDisplayInfo
type IPeekResultDisplayInfo2 = interface
    interface IPeekResultDisplayInfo
    interface IDisposable
Public Interface IPeekResultDisplayInfo2
Implements IDisposable, IPeekResultDisplayInfo
Derived
Implements

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 IPeekResultDisplayInfo)
LabelTooltip

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

(Inherited from IPeekResultDisplayInfo)
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 IPeekResultDisplayInfo)
TitleTooltip

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

(Inherited from IPeekResultDisplayInfo)

Applies to