RegistryHelper.SetValue Method (SafeHandle, String, Int32)
Namespace: Microsoft.VisualStudio.Services.Common.Internal
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Public Shared Sub SetValue ( _
registryKey As SafeHandle, _
name As String, _
value As Integer _
)
public static void SetValue(
SafeHandle registryKey,
string name,
int value
)
public:
static void SetValue(
SafeHandle^ registryKey,
String^ name,
int value
)
static member SetValue :
registryKey:SafeHandle *
name:string *
value:int -> unit
public static function SetValue(
registryKey : SafeHandle,
name : String,
value : int
)
Parameters
- registryKey
Type: System.Runtime.InteropServices.SafeHandle
- name
Type: System.String
- value
Type: System.Int32
.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.