다음을 통해 공유


RegistrationAttribute.Key.CreateSubkey Method

Creates a new registration key. The new key is a subkey of the current Key.

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

Syntax

‘선언
Public MustOverride Function CreateSubkey ( _
    name As String _
) As RegistrationAttribute..::..Key
‘사용 방법
Dim instance As RegistrationAttribute..::..Key
Dim name As String
Dim returnValue As RegistrationAttribute..::..Key

returnValue = instance.CreateSubkey(name)
public abstract RegistrationAttribute..::..Key CreateSubkey(
    string name
)
public:
virtual RegistrationAttribute..::..Key^ CreateSubkey(
    String^ name
) abstract
abstract CreateSubkey : 
        name:string -> RegistrationAttribute..::..Key 
public abstract function CreateSubkey(
    name : String
) : RegistrationAttribute..::..Key

Parameters

  • name
    Type: System.String
    The name of the new key. This name is relative to the current key. An empty or null string sets the default value for the key.

Return Value

Type: Microsoft.VisualStudio.Shell.RegistrationAttribute.Key
The newly created Key.

.NET Framework Security

See Also

Reference

RegistrationAttribute.Key Class

RegistrationAttribute.Key Members

Microsoft.VisualStudio.Shell Namespace

RegistrationAttribute.Key