Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Creates a new RegisterLoadKeyAttribute. This attribute has been deprecated.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Dichiarazione
Public Sub New ( _
minimumEdition As String, _
productVersion As String, _
productName As String, _
companyName As String, _
resourceId As Short _
)
'Utilizzo
Dim minimumEdition As String
Dim productVersion As String
Dim productName As String
Dim companyName As String
Dim resourceId As Short
Dim instance As New RegisterLoadKeyAttribute(minimumEdition, _
productVersion, productName, companyName, _
resourceId)
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.
- productName
Type: System.String
The name of the VSPackage.
- companyName
Type: System.String
The name of your company.
- 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
- 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
RegisterLoadKeyAttribute Class