RegistryHelper.CreateSubKey Method (RegistryHive, String, RegistryAccessMask)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.Services.Common.Internal
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Public Shared Function CreateSubKey ( _
hive As RegistryHive, _
subKey As String, _
accessMask As RegistryAccessMask _
) As SafeHandle
public static SafeHandle CreateSubKey(
RegistryHive hive,
string subKey,
RegistryAccessMask accessMask
)
public:
static SafeHandle^ CreateSubKey(
RegistryHive hive,
String^ subKey,
RegistryAccessMask accessMask
)
static member CreateSubKey :
hive:RegistryHive *
subKey:string *
accessMask:RegistryAccessMask -> SafeHandle
public static function CreateSubKey(
hive : RegistryHive,
subKey : String,
accessMask : RegistryAccessMask
) : SafeHandle
Parameters
- hive
Type: Microsoft.Win32.RegistryHive
- subKey
Type: System.String
- accessMask
Type: Microsoft.VisualStudio.Services.Common.Internal.RegistryAccessMask
Return Value
Type: System.Runtime.InteropServices.SafeHandle
.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.