InstalledProductRegistrationAttribute Constructor (Boolean, String, String, String)
Note: This API is now obsolete.
Initializes a new InstalledProductRegistrationAttribute instance for the specified product.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
<BrowsableAttribute(False)> _
<ObsoleteAttribute("This InstalledProductRegistrationAttribute constructor has been deprecated. Please use other constructor instead.")> _
Public Sub New ( _
useInterface As Boolean, _
productName As String, _
productDetails As String, _
productId As String _
)
[BrowsableAttribute(false)]
[ObsoleteAttribute("This InstalledProductRegistrationAttribute constructor has been deprecated. Please use other constructor instead.")]
public InstalledProductRegistrationAttribute(
bool useInterface,
string productName,
string productDetails,
string productId
)
Parameters
- useInterface
Type: System.Boolean
true if the package implements the IVsInstalledProduct interface to collect and display the information, otherwise false.
- productName
Type: System.String
The name of the product.
- productDetails
Type: System.String
The detailed description of the product.
- productId
Type: System.String
The product ID.
Remarks
This constructor validates the specified information and its corresponding resource IDs.
.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.
See Also
Reference
InstalledProductRegistrationAttribute Class