ProvideLoadKeyAttribute.RegKeyName Method

Returns the registry key name for this package's load key information.

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 ProvideLoadKeyAttribute
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

Return Value

Type: System.String
The Registry Key name for the load key information of the VSPackage.

Remarks

This output is formatted with "Packages\\GUID", for instance:

Packages\\C251EB20-B76C-4ece-91BE-7A25E6B02BD4

The Visual C# language automatically appends the word "Attribute" to the name of any attribute class. In Visual C# code, refer to this attribute as ProvideLoadKey.

.NET Framework Security

See Also

Reference

ProvideLoadKeyAttribute Class

ProvideLoadKeyAttribute Members

Microsoft.VisualStudio.Shell Namespace