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.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
<ObsoleteAttribute("This InstalledProductRegistrationAttribute constructor has been deprecated. Please use other constructor instead.")> _
<BrowsableAttribute(False)> _
Public Sub New ( _
    useInterface As Boolean, _
    productName As String, _
    productDetails As String, _
    productId As String _
)
[ObsoleteAttribute("This InstalledProductRegistrationAttribute constructor has been deprecated. Please use other constructor instead.")]
[BrowsableAttribute(false)]
public InstalledProductRegistrationAttribute(
    bool useInterface,
    string productName,
    string productDetails,
    string productId
)
[ObsoleteAttribute(L"This InstalledProductRegistrationAttribute constructor has been deprecated. Please use other constructor instead.")]
[BrowsableAttribute(false)]
public:
InstalledProductRegistrationAttribute(
    bool useInterface, 
    String^ productName, 
    String^ productDetails, 
    String^ productId
)
[<ObsoleteAttribute("This InstalledProductRegistrationAttribute constructor has been deprecated. Please use other constructor instead.")>]
[<BrowsableAttribute(false)>]
new : 
        useInterface:bool * 
        productName:string * 
        productDetails:string * 
        productId:string -> InstalledProductRegistrationAttribute
public function InstalledProductRegistrationAttribute(
    useInterface : boolean, 
    productName : String, 
    productDetails : String, 
    productId : String
)

Parameters

  • productDetails
    Type: System.String
    The detailed description of the product.

Remarks

This constructor validates the specified information and its corresponding resource IDs.

.NET Framework Security

See Also

Reference

InstalledProductRegistrationAttribute Class

InstalledProductRegistrationAttribute Overload

Microsoft.VisualStudio.Shell Namespace