71 references to SetValue
mscorlib (31)
system\environment.cs (2)
990
environmentKey.
SetValue
(variable, value);
1007
environmentKey.
SetValue
(variable, value);
system\runtime\interopservices\registrationservices.cs (29)
390
RecordVersionKey.
SetValue
("Class", type.FullName);
393
RecordVersionKey.
SetValue
("Assembly", strAsmName);
396
RecordVersionKey.
SetValue
("RuntimeVersion", strRuntimeVersion);
400
RecordVersionKey.
SetValue
("CodeBase", strAsmCodeBase);
429
TypeNameKey.
SetValue
("", strDocString);
434
ProgIdClsIdKey.
SetValue
("", strClsId);
445
ClsIdKey.
SetValue
("", strDocString);
450
InProcServerKey.
SetValue
("", strMsCorEEFileName);
451
InProcServerKey.
SetValue
("ThreadingModel", strManagedTypeThreadingModel);
452
InProcServerKey.
SetValue
("Class", type.FullName);
453
InProcServerKey.
SetValue
("Assembly", strAsmName);
454
InProcServerKey.
SetValue
("RuntimeVersion", strRuntimeVersion);
456
InProcServerKey.
SetValue
("CodeBase", strAsmCodeBase);
461
VersionSubKey.
SetValue
("Class", type.FullName);
462
VersionSubKey.
SetValue
("Assembly", strAsmName);
463
VersionSubKey.
SetValue
("RuntimeVersion", strRuntimeVersion);
465
VersionSubKey.
SetValue
("CodeBase", strAsmCodeBase);
473
ProgIdKey.
SetValue
("", strProgId);
512
InProcServerKey.
SetValue
("Class", type.FullName);
515
InProcServerKey.
SetValue
("Assembly", strAsmName);
518
InProcServerKey.
SetValue
("RuntimeVersion", strRuntimeVersion);
522
InProcServerKey.
SetValue
("CodeBase", strAsmCodeBase);
527
VersionSubKey.
SetValue
("Class", type.FullName);
528
VersionSubKey.
SetValue
("Assembly", strAsmName);
529
VersionSubKey.
SetValue
("RuntimeVersion", strRuntimeVersion);
531
VersionSubKey.
SetValue
("CodeBase", strAsmCodeBase);
887
VersionSubKey.
SetValue
("PrimaryInteropAssemblyName", assembly.FullName);
889
VersionSubKey.
SetValue
("PrimaryInteropAssemblyCodeBase", strAsmCodeBase);
953
ManagedCategoryKey.
SetValue
("0", strManagedCategoryDescription);
PresentationFramework (10)
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (10)
161
key.
SetValue
("uiLanguage", CultureInfo.CurrentUICulture.Name);
162
key.
SetValue
("displayName", this.DisplayName);
163
key.
SetValue
("manufacturerName", this.ManufacturerName);
164
key.
SetValue
("manufacturerWebsite", this.ManufacturerWebsite);
165
key.
SetValue
("defaultFileExtension", this.DefaultFileExtension);
166
key.
SetValue
("assemblyName", this.AssemblyName);
167
key.
SetValue
("assemblyPath", this.AssemblyPath);
168
key.
SetValue
("factoryInterfaceName", this.FactoryInterfaceName);
169
key.
SetValue
("assemblyVersion", this.AssemblyVersion.ToString());
170
key.
SetValue
("winFXVersion", this.WinFXVersion.ToString());
System (7)
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (7)
467
serviceKey.
SetValue
("Open","OpenPerformanceData");
468
serviceKey.
SetValue
("Collect", "CollectPerformanceData");
469
serviceKey.
SetValue
("Close","ClosePerformanceData");
470
serviceKey.
SetValue
("Library", DllName);
485
linkageKey.
SetValue
("Export", new string[]{categoryName});
487
serviceKey.
SetValue
("Counter Types", (object) counterTypes);
488
serviceKey.
SetValue
("Counter Names", (object) counters);
System.Management (3)
Instrumentation\WMICapabilities.cs (3)
97
wmiCIMOMKey.
SetValue
(AutoRecoverMofsTimestampVal, DateTime.Now.ToFileTime().ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))));
114
wmiCIMOMKey.
SetValue
(AutoRecoverMofsVal, newMofs);
115
wmiCIMOMKey.
SetValue
(AutoRecoverMofsTimestampVal, DateTime.Now.ToFileTime().ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))));
System.Windows.Forms (5)
winforms\Managed\System\WinForms\PropertyGrid.cs (5)
4227
optRoot.
SetValue
("PbrsAlpha", (this.PropertySort == PropertySort.Alphabetical ? "1" : "0"));
4228
optRoot.
SetValue
("PbrsShowDesc", (this.HelpVisible ? "1" : "0"));
4229
optRoot.
SetValue
("PbrsShowCommands", (this.CommandsVisibleIfAvailable ? "1" : "0"));
4230
optRoot.
SetValue
("PbrsDescHeightRatio", dcSizeRatio.ToString(CultureInfo.InvariantCulture));
4231
optRoot.
SetValue
("PbrsHotCommandHeightRatio", hcSizeRatio.ToString(CultureInfo.InvariantCulture));
System.Workflow.Activities (1)
Common\CompModHelpers.cs (1)
858
referenceKey.
SetValue
(TypeProviderAssemblyRegValueName, ((string[])references.ToArray(typeof(string))));
System.Workflow.ComponentModel (14)
AuthoringOM\Design\Themes.cs (3)
389
themeKey.
SetValue
(WorkflowTheme.ThemeTypeKey, WorkflowTheme.CurrentTheme.themeType);
391
themeKey.
SetValue
(WorkflowTheme.ThemePathKey, WorkflowTheme.CurrentTheme.FilePath);
393
themeKey.
SetValue
(WorkflowTheme.ThemePathKey, String.Empty);
AuthoringOM\Design\WorkflowPrinting.cs (10)
492
key.
SetValue
(RegistryHeaderAlignment, (int)this.headerAlignment);
493
key.
SetValue
(RegistryFooterAlignment, (int)this.footerAlignment);
494
key.
SetValue
(RegistryHeaderMarging, this.headerMargin);
495
key.
SetValue
(RegistryFooterMarging, this.footerMargin);
496
key.
SetValue
(RegistryHeaderTemplate, this.headerTemplate);
497
key.
SetValue
(RegistryFooterTemplate, this.footerTemplate);
498
key.
SetValue
(RegistryHeaderCustom, Convert.ToInt32(this.headerCustom));
499
key.
SetValue
(RegistryFooterCustom, Convert.ToInt32(this.footerCustom));
500
key.
SetValue
(RegistryCenterHorizontally, Convert.ToInt32(this.centerHorizontally));
501
key.
SetValue
(RegistryCenterVertically, Convert.ToInt32(this.centerVertically));
Shared\CompModHelpers.cs (1)
856
referenceKey.
SetValue
(TypeProviderAssemblyRegValueName, ((string[])references.ToArray(typeof(string))));