26 implementations of Key
mscorlib (10)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
2163
public object
Key
system\collections\emptyreadonlydictionaryinternal.cs (1)
177
public Object
Key
{
system\collections\generic\dictionary.cs (1)
777
object IDictionaryEnumerator.
Key
{
system\collections\hashtable.cs (1)
1571
public virtual Object
Key
{
system\collections\listdictionaryinternal.cs (1)
279
public Object
Key
{
system\collections\objectmodel\readonlydictionary.cs (1)
314
public object
Key
{
system\collections\sortedlist.cs (1)
762
public virtual Object
Key
{
system\resources\resourcereader.cs (1)
1364
public Object
Key
{
system\runtime\remoting\ichannel.cs (1)
777
public Object
Key
{ get { return _keyEnum.Current; } }
system\runtime\remoting\message.cs (1)
2207
public Object
Key
{
PresentationCore (2)
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
616
object SC.IDictionaryEnumerator.
Key
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
432
public object
Key
PresentationFramework (2)
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
114
object IDictionaryEnumerator.
Key
src\Framework\System\Windows\ResourceDictionary.cs (1)
2144
object IDictionaryEnumerator.
Key
System (5)
compmod\system\collections\generic\sorteddictionary.cs (1)
412
object IDictionaryEnumerator.
Key
{
compmod\system\collections\generic\sortedlist.cs (1)
715
Object System.Collections.IDictionaryEnumerator.
Key
{
compmod\system\collections\specialized\listdictionary.cs (1)
310
public object
Key
{
compmod\system\collections\specialized\ordereddictionary.cs (1)
423
public object
Key
{
compmod\system\componentmodel\PropertyDescriptorCollection.cs (1)
707
public object
Key
{
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
450
public object
Key
{
System.Configuration (1)
System\Configuration\ConfigurationElementCollection.cs (1)
1307
Object IDictionaryEnumerator.
Key
{
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
450
public object
Key
{
System.Runtime.Remoting (1)
channels\http\combinedhttpchannel.cs (1)
326
public Object
Key
{ get { return _keyEnum.Current; } }
System.ServiceModel (1)
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
777
public Object
Key
System.Web (1)
httpstaticobjectscollection.cs (1)
306
public Object
Key
{
System.Xml (1)
System\Xml\Schema\XmlSchemaObjectTable.cs (1)
320
public object
Key
{
91 references to Key
mscorlib (24)
system\collections\hashtable.cs (2)
382
while (e.MoveNext()) Add(e.
Key
, e.Value);
392
while (e.MoveNext()) Add(e.
Key
, e.Value);
system\resources\resourceset.cs (2)
289
Table.Add(en.
Key
, value);
328
caseTable.Add(en.
Key
, en.Value);
system\resources\resourcewriter.cs (2)
410
nameHashes[curNameNumber] = FastResourceComparer.HashFunction((String)items.
Key
);
412
names.Write((String)items.
Key
); // key
system\runtime\remoting\callcontext.cs (7)
262
ilcc.Datastore[(String)de.
Key
] = de.Value;
393
info.AddValue((String)de.
Key
, de.Value);
427
lc.Datastore[(String)de.
Key
] = de.Value;
434
String key = (String)de.
Key
;
467
Datastore[(String)de.
Key
] = de.Value;
708
String key = (String)e.
Key
;
729
String key = (String)e.
Key
;
system\runtime\remoting\identityholder.cs (1)
124
removeList.Add(e.
Key
);
system\runtime\remoting\lease.cs (1)
426
Object sponsorId = e.
Key
;
system\runtime\remoting\leasemanager.cs (2)
198
Lease lease = (Lease)e.
Key
;
233
Object sponsorId = e.
Key
;
system\runtime\remoting\message.cs (2)
2223
return _enumHash.
Key
;
2877
FillHeader(de.
Key
.ToString(), de.Value);
system\runtime\remoting\remotingsurrogateselector.cs (3)
484
if ((obj == _ss.GetRootObject()) && (_ss.Filter != null) && _ss.Filter((String)de.
Key
, de.Value))
489
String key = de.
Key
.ToString();
532
info.AddValue(de.
Key
.ToString(), de.Value, _objectType);
system\security\policy\policylevel.cs (1)
542
elClass.AddAttribute("Description", (string)dicEnumerator.
Key
);
system\security\securityelement.cs (1)
201
String attrName = (String)enumerator.
Key
;
PresentationCore (1)
Core\CSharp\MS\Internal\Resources\ResourceManagerWrapper.cs (1)
224
string resName = deResources.
Key
as string;
PresentationFramework (3)
src\Framework\MS\Internal\Data\AccessorTable.cs (1)
126
keysToRemove[n++] = ide.
Key
;
src\Framework\MS\Internal\Data\StaticPropertyChangedEventManager.cs (1)
504
String key = (String)ide.
Key
;
src\Framework\MS\Internal\Data\ValueChangedEventManager.cs (1)
227
_toRemove.Add((PropertyDescriptor)ide.
Key
);
System (23)
compmod\system\collections\specialized\hybriddictionary.cs (1)
139
newTable.Add(en.
Key
, en.Value);
compmod\system\diagnostics\ListenerElementsCollection.cs (1)
280
string xmlName = (string)e.
Key
;
compmod\system\diagnostics\SourceElementsCollection.cs (1)
144
string xmlName = (string)e.
Key
;
compmod\system\diagnostics\SwitchElementsCollection.cs (1)
99
string xmlName = (string)e.
Key
;
compmod\system\security\permissions\ResourcePermissionBase.cs (11)
182
newTable[contentEnumerator.
Key
] = CopyChildren(contentEnumerator.Value, tagIndex + 1);
184
newTable[contentEnumerator.
Key
] = contentEnumerator.Value;
211
currentEntries[index].PermissionAccessPath[tagIndex] = (string)contentEnumerator.
Key
;
217
entry.PermissionAccessPath[tagIndex] = (string)contentEnumerator.
Key
;
337
string currentKey = (string)contentEnumerator.
Key
;
602
newContents[(string)contentEnumerator.
Key
] = contentEnumerator.Value;
605
if (!newContents.ContainsKey(targetContentEnumerator.
Key
))
606
newContents[targetContentEnumerator.
Key
] = targetContentEnumerator.Value;
608
object currentValue = newContents[targetContentEnumerator.
Key
];
610
newContents[targetContentEnumerator.
Key
] = UnionOfContents(currentValue, targetValue);
623
contentElement.AddAttribute("name", (string)contentEnumerator.
Key
);
net\System\Net\CredentialCache.cs (2)
205
CredentialKey key = (CredentialKey)credEnum.
Key
;
264
CredentialHostKey key = (CredentialHostKey)credEnum.
Key
;
regex\system\text\regularexpressions\Regex.cs (1)
611
result[(int)de.Value] = (int)de.
Key
;
regex\system\text\regularexpressions\RegexCompiler.cs (3)
3328
if (en.
Key
is int) {
3329
Ldc((int) en.
Key
);
3335
Ldstr((String) en.
Key
);
regex\system\text\regularexpressions\RegexParser.cs (1)
1681
_capnumlist[i++] = (int)de.
Key
;
services\monitoring\system\diagnosticts\DiagnosticsConfigurationHandler.cs (1)
104
throw new ConfigurationErrorsException(SR.GetString(SR.Value_must_be_numeric, en.
Key
));
System.Data (2)
fx\src\data\System\Data\Merger.cs (2)
536
if (!preserveChanges || dst[srcDE.
Key
] == null)
537
dst[srcDE.
Key
] = srcDE.Value;
System.Messaging (8)
System\Messaging\MessageQueuePermission.cs (8)
247
if (formatNamesTable.ContainsKey(formatNamesEnumerator.
Key
))
249
string currentFormatName = (string)formatNamesEnumerator.
Key
;
307
string currentFormatName = (string)formatNamesEnumerator.
Key
;
485
newFormatNames[(string)formatNamesEnumerator.
Key
] = formatNamesEnumerator.Value;
489
if (!newFormatNames.ContainsKey(targetFormatNamesEnumerator.
Key
))
490
newFormatNames[targetFormatNamesEnumerator.
Key
] = targetFormatNamesEnumerator.Value;
493
MessageQueuePermissionAccess currentAccess = (MessageQueuePermissionAccess)newFormatNames[targetFormatNamesEnumerator.
Key
];
494
newFormatNames[targetFormatNamesEnumerator.
Key
] = currentAccess | (MessageQueuePermissionAccess)targetFormatNamesEnumerator.Value;
System.Runtime.Remoting (2)
channels\core\corechannel.cs (2)
316
String key = (String)e.
Key
;
361
Object key = e.
Key
;
System.Runtime.Serialization (1)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1465
get { return new KeyValue<object, object>(enumerator.
Key
, enumerator.Value); }
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\ServiceParser.cs (1)
747
return (string)e.
Key
;
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\ContractValidationHelper.cs (2)
415
if (iterator.MoveNext() && (string)iterator.
Key
== targetMessageBody.ReturnValue.Name)
439
if (iterator.MoveNext() && (string)iterator.
Key
== targetPart.Name)
System.Web (14)
Compilation\AssemblyBuilder.cs (1)
992
fileNames += e.
Key
;
Compilation\BuildProvidersCompiler.cs (1)
551
_nonDependentBuckets[level].Add(en.
Key
);
Configuration\HttpCapabilitiesEvaluator.cs (1)
326
string key = (string)de.
Key
;
httpstaticobjectscollection.cs (2)
308
return _enum.
Key
;
331
return new DictionaryEntry(_enum.
Key
, this.Value);
UI\AttributeCollection.cs (2)
188
string key = e.
Key
as string;
209
string key = e.
Key
as string;
UI\ClientScriptManager.cs (1)
1041
writer.Write(arrays.
Key
);
UI\StateBag.cs (1)
329
data.Add(new IndexedString((string)e.
Key
));
UI\Util.cs (1)
628
return (string)e.
Key
;
Util\AspCompat.cs (2)
586
sb.Append(EncodeTab(e.
Key
));
589
sb.Append(EncodeTab(e.
Key
));
Util\SmtpMail.cs (2)
209
String k = (String)e.
Key
;
353
SetField(m, (String)e.
Key
, (String)e.Value);
System.Web.Mobile (3)
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
557
String key = (String)enumerator.
Key
;
UI\MobileControls\Design\MobileControlPersister.cs (1)
614
propName = enumerator.
Key
as String;
UI\MobileControls\DeviceSpecificChoice.cs (1)
154
String propertyName = (String)enumerator.
Key
;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
336
string category = (string)enumBins.
Key
;
WindowsBase (6)
Base\MS\Internal\WeakEventTable.cs (1)
347
EventKey key = (EventKey)ide.
Key
;
Base\System\ComponentModel\PropertyChangedEventManager.cs (2)
213
String key = (String)ide.
Key
;
277
String key = (String)installDE.
Key
;
Base\System\Windows\NameScope.cs (1)
430
return new KeyValuePair<string, object>((string)_enumerator.
Key
, _enumerator.Value);
Shared\MS\Utility\FrugalMap.cs (2)
1617
key = (int)myEnumerator.
Key
;
1641
int key = (int)myEnumerator.
Key
;