Creates a new registration key. The new key is a subkey of the current Key.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.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
public abstract function CreateSubkey(
name : String
) : RegistrationAttribute..::.Key
Parameters
name
Type: System.StringThe name of the new key. This name is relative to the current key.
Return Value
Type: Microsoft.VisualStudio.Shell.RegistrationAttribute.Key
The newly created Key.
Permissions
- 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
RegistrationAttribute.Key Members