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