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
providerType
Type: TypeThe type implementing the IVsSearchProvider extension.
name
Type: 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.