Initializes a new InstalledProductRegistrationAttribute instance for the specified product.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public Sub New ( _
useInterface As Boolean, _
productName As String, _
productDetails As String, _
productId As String _
)
'Usage
Dim useInterface As Boolean
Dim productName As String
Dim productDetails As String
Dim productId As String
Dim instance As New InstalledProductRegistrationAttribute(useInterface, _
productName, productDetails, productId)
public InstalledProductRegistrationAttribute(
bool useInterface,
string productName,
string productDetails,
string productId
)
public:
InstalledProductRegistrationAttribute(
bool useInterface,
String^ productName,
String^ productDetails,
String^ productId
)
public function InstalledProductRegistrationAttribute(
useInterface : boolean,
productName : String,
productDetails : String,
productId : String
)
Parameters
useInterface
Type: System.Booleantrue if the package implements the IVsInstalledProduct interface to collect and display the information, otherwise false.
productName
Type: System.StringThe name of the product.
productDetails
Type: System.StringThe detailed description of the product.
productId
Type: System.StringThe 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