RegistrationAttribute.Key.CreateSubkey Method
Creates a new registration key. The new key is a subkey of the current Key.
Namespace: Microsoft.VisualStudio.Shell
Assembly: 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
public abstract RegistrationAttribute.Key CreateSubkey(
string name
)
Parameters
- name
Type: System.String
The name of the new key. This name is relative to the current key. An empty or nulla null reference (Nothing in Visual Basic) string sets the default value for the key.
Return Value
Type: Microsoft.VisualStudio.Shell.RegistrationAttribute.Key
The newly created Key.
.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
RegistrationAttribute.Key Class