다음을 통해 공유


InstalledProductRegistrationAttribute Constructor (Boolean, String, String, String)

Initializes a new InstalledProductRegistrationAttribute instance for the specified product.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

‘선언
Public Sub New ( _
    useInterface As Boolean, _
    productName As String, _
    productDetails As String, _
    productId As String _
)
‘사용 방법
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
)
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 Members

InstalledProductRegistrationAttribute Overload

Microsoft.VisualStudio.Shell Namespace