RegistryHelper.CreateSubKey Method (SafeHandle, String, RegistryAccessMask, Boolean)
[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 ( _
key As SafeHandle, _
subKey As String, _
accessMask As RegistryAccessMask, _
<OutAttribute> ByRef createdNew As Boolean _
) As SafeHandle
public static SafeHandle CreateSubKey(
SafeHandle key,
string subKey,
RegistryAccessMask accessMask,
out bool createdNew
)
public:
static SafeHandle^ CreateSubKey(
SafeHandle^ key,
String^ subKey,
RegistryAccessMask accessMask,
[OutAttribute] bool% createdNew
)
static member CreateSubKey :
key:SafeHandle *
subKey:string *
accessMask:RegistryAccessMask *
createdNew:bool byref -> SafeHandle
public static function CreateSubKey(
key : SafeHandle,
subKey : String,
accessMask : RegistryAccessMask,
createdNew : boolean
) : SafeHandle
Parameters
- subKey
Type: System.String
- accessMask
Type: Microsoft.VisualStudio.Services.Common.Internal.RegistryAccessMask
- createdNew
Type: System.Boolean
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.