共用方式為


IVsSearchProvider.Shortcut Property

Gets a unique category shortcut that can be used in filtering the results from multiple providers. For example, searching for "@cmd" only returns search results from the provider with category shortcut "cmd".

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

Syntax

'Declaration
ReadOnly Property Shortcut As String
string Shortcut { get; }
property String^ Shortcut {
    String^ get ();
}
abstract Shortcut : string with get
function get Shortcut () : String

Property Value

Type: String
The unique category shortcut.

.NET Framework Security

See Also

Reference

IVsSearchProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace