RegisterLoadKeyAttribute Constructor

Creates a new RegisterLoadKeyAttribute. This attribute has been deprecated.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public Sub New ( _
    minimumEdition As String, _
    productVersion As String, _
    productName As String, _
    companyName As String, _
    resourceId As Short _
)
public RegisterLoadKeyAttribute(
    string minimumEdition,
    string productVersion,
    string productName,
    string companyName,
    short resourceId
)
public:
RegisterLoadKeyAttribute(
    String^ minimumEdition, 
    String^ productVersion, 
    String^ productName, 
    String^ companyName, 
    short resourceId
)
new : 
        minimumEdition:string * 
        productVersion:string * 
        productName:string * 
        companyName:string * 
        resourceId:int16 -> RegisterLoadKeyAttribute
public function RegisterLoadKeyAttribute(
    minimumEdition : String, 
    productVersion : String, 
    productName : String, 
    companyName : String, 
    resourceId : short
)

Parameters

  • minimumEdition
    Type: System.String
    The minimum edition of .NET needed to load the VSPackage.
  • productVersion
    Type: System.String
    The version number of the VSPackage.
  • resourceId
    Type: System.Int16
    The resource ID for the VSPackage load key.

Exceptions

Exception Condition
ArgumentNullException

minimumEdition, productVersion, productName or companyName are nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

RegisterLoadKeyAttribute Class

Microsoft.VisualStudio.Shell Namespace