共用方式為


ProvideSearchProviderAttribute Constructor

Initializes a new instance of the ProvideSearchProviderAttribute class.

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

Syntax

'宣告
Public Sub New ( _
    providerType As Type, _
    name As String _
)
public ProvideSearchProviderAttribute(
    Type providerType,
    string name
)

Parameters

  • name
    Type: System.String
    A short, non-localized human-readable name of the provider.

Remarks

Specifies that the package implements an IVsSearchProviderFactory interface (that is, by deriving from ExtensionPointPackage) and declares the type implementing the search provider.

.NET Framework Security

See Also

Reference

ProvideSearchProviderAttribute Class

Microsoft.VisualStudio.Shell Namespace