Gets the registry key name for the load key information of the VSPackage. 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
'宣言
Public Function RegKeyName ( _
context As RegistrationAttribute..::..RegistrationContext _
) As String
'使用
Dim instance As RegisterLoadKeyAttribute
Dim context As RegistrationAttribute..::..RegistrationContext
Dim returnValue As String
returnValue = instance.RegKeyName(context)
public string RegKeyName(
RegistrationAttribute..::..RegistrationContext context
)
public:
String^ RegKeyName(
RegistrationAttribute..::..RegistrationContext^ context
)
member RegKeyName :
context:RegistrationAttribute..::..RegistrationContext -> string
public function RegKeyName(
context : RegistrationAttribute..::..RegistrationContext
) : String
Parameters
- context
Type: Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext
A registration context provided by an external registration tool. The context can be used to create registry keys, log registration activity, and obtain information about the component being registered.
Return Value
Type: System.String
The Registry Key name for the load key information of the VSPackage.
.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