Compartir a través de


IVsSearchItemResult Interface

Provides search results representing an open document.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
<GuidAttribute("B03B8A31-6BF6-46B1-AC58-0C973F05FFC8")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsSearchItemResult
[GuidAttribute("B03B8A31-6BF6-46B1-AC58-0C973F05FFC8")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSearchItemResult
[GuidAttribute(L"B03B8A31-6BF6-46B1-AC58-0C973F05FFC8")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsSearchItemResult
[<GuidAttribute("B03B8A31-6BF6-46B1-AC58-0C973F05FFC8")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSearchItemResult =  interface end
public interface IVsSearchItemResult

The IVsSearchItemResult type exposes the following members.

Properties

  Name Description
Public property Description Gets a more detailed description of the search result.
Public property DisplayText Gets the text of the item to be displayed on the UI.
Public property Icon Gets an icon associated with the search result for the item.
Public property PersistenceData Gets a string that can be used to persist this result and that allows reconstruction of the result after a shell restart.
Public property SearchProvider Gets the search provider that generated this search result.
Public property Tooltip Gets the tooltip for the item.

Top

Methods

  Name Description
Public method InvokeAction Invokes a specific action associated with the object when the result is selected.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace