共用方式為


IVsSearchItemResult Interface

Definition

Provides search results representing an open document.

public interface class IVsSearchItemResult
public interface class IVsSearchItemResult
__interface IVsSearchItemResult
[System.Runtime.InteropServices.Guid("B03B8A31-6BF6-46B1-AC58-0C973F05FFC8")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSearchItemResult
[<System.Runtime.InteropServices.Guid("B03B8A31-6BF6-46B1-AC58-0C973F05FFC8")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSearchItemResult = interface
Public Interface IVsSearchItemResult
Derived
Attributes

Properties

Description

Gets a more detailed description of the search result.

DisplayText

Gets the text of the item to be displayed on the UI.

Icon

Gets an icon associated with the search result for the item.

PersistenceData

Gets a string that can be used to persist this result and that allows reconstruction of the result after a shell restart.

SearchProvider

Gets the search provider that generated this search result.

Tooltip

Gets the tooltip for the item.

Methods

InvokeAction()

Invokes a specific action associated with the object when the result is selected.

Applies to