Share via


ProvideSearchProviderAttribute Constructor

Initializes a new instance of the ProvideSearchProviderAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    providerType As Type, _
    name As String _
)
public ProvideSearchProviderAttribute(
    Type providerType,
    string name
)
public:
ProvideSearchProviderAttribute(
    Type^ providerType, 
    String^ name
)
new : 
        providerType:Type * 
        name:string -> ProvideSearchProviderAttribute
public function ProvideSearchProviderAttribute(
    providerType : Type, 
    name : String
)

Parameters

  • name
    Type: 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