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
'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
providerType
Type: System.TypeThe type implementing the IVsSearchProvider extension.
name
Type: System.StringA 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.