共用方式為


IVsFavoritesProvider Interface

Used by the environment when adding a URL to the favorites list.

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

Syntax

'宣告
<GuidAttribute("E8B06F4D-6D01-11D2-AA7D-00C04F990343")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFavoritesProvider
'用途
Dim instance As IVsFavoritesProvider
[GuidAttribute("E8B06F4D-6D01-11D2-AA7D-00C04F990343")]
[InterfaceTypeAttribute()]
public interface IVsFavoritesProvider
[GuidAttribute(L"E8B06F4D-6D01-11D2-AA7D-00C04F990343")]
[InterfaceTypeAttribute()]
public interface class IVsFavoritesProvider
[<GuidAttribute("E8B06F4D-6D01-11D2-AA7D-00C04F990343")>]
[<InterfaceTypeAttribute()>]
type IVsFavoritesProvider =  interface end
public interface IVsFavoritesProvider

Remarks

If you register a URL protocol as part of your package, you should implement IVsFavoritesProvider.

See Also

Reference

IVsFavoritesProvider Members

Microsoft.VisualStudio.Shell.Interop Namespace