Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Collections / DictionaryEntry.cs / 1 / DictionaryEntry.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Interface: DictionaryEntry
**
**
** Purpose: Return Value for IDictionaryEnumerator::GetEntry
**
**
===========================================================*/
namespace System.Collections {
using System;
// A DictionaryEntry holds a key and a value from a dictionary.
// It is returned by IDictionaryEnumerator::GetEntry().
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable()] public struct DictionaryEntry
{
private Object _key;
private Object _value;
// Constructs a new DictionaryEnumerator by setting the Key
// and Value fields appropriately.
public DictionaryEntry(Object key, Object value) {
_key = key;
_value = value;
}
public Object Key {
get {
return _key;
}
set {
_key = value;
}
}
public Object Value {
get {
return _value;
}
set {
_value = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Interface: DictionaryEntry
**
**
** Purpose: Return Value for IDictionaryEnumerator::GetEntry
**
**
===========================================================*/
namespace System.Collections {
using System;
// A DictionaryEntry holds a key and a value from a dictionary.
// It is returned by IDictionaryEnumerator::GetEntry().
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable()] public struct DictionaryEntry
{
private Object _key;
private Object _value;
// Constructs a new DictionaryEnumerator by setting the Key
// and Value fields appropriately.
public DictionaryEntry(Object key, Object value) {
_key = key;
_value = value;
}
public Object Key {
get {
return _key;
}
set {
_key = value;
}
}
public Object Value {
get {
return _value;
}
set {
_value = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _StreamFramer.cs
- UniqueConstraint.cs
- PropertyValueChangedEvent.cs
- webproxy.cs
- Enum.cs
- SubMenuStyleCollection.cs
- X509Utils.cs
- ProcessThreadDesigner.cs
- RefExpr.cs
- ReachDocumentReferenceSerializer.cs
- ToolboxComponentsCreatingEventArgs.cs
- DataObjectMethodAttribute.cs
- LoginDesignerUtil.cs
- RuleInfoComparer.cs
- RenderContext.cs
- ViewLoader.cs
- RegexInterpreter.cs
- TableDetailsRow.cs
- MinimizableAttributeTypeConverter.cs
- ControlTemplate.cs
- X509Certificate2Collection.cs
- XPathAncestorQuery.cs
- ProcessThreadCollection.cs
- SmtpMail.cs
- Module.cs
- MissingMethodException.cs
- DataGridColumnCollectionEditor.cs
- Polygon.cs
- DesignerWebPartChrome.cs
- SqlMethods.cs
- FrameAutomationPeer.cs
- XmlRootAttribute.cs
- ExpressionBindings.cs
- RelationshipEndCollection.cs
- NewItemsContextMenuStrip.cs
- OleDbErrorCollection.cs
- LinkedResourceCollection.cs
- SaveRecipientRequest.cs
- PtsHelper.cs
- EndPoint.cs
- InvalidTimeZoneException.cs
- DataErrorValidationRule.cs
- PrivateFontCollection.cs
- XmlSchemaSimpleContentExtension.cs
- DataGridViewTextBoxColumn.cs
- MethodExpr.cs
- WinEventTracker.cs
- CommandHelper.cs
- CertificateManager.cs
- PublisherIdentityPermission.cs
- UrlParameterWriter.cs
- ApplicationDirectoryMembershipCondition.cs
- TextParagraphCache.cs
- ToolboxItemFilterAttribute.cs
- PenLineJoinValidation.cs
- LiteralLink.cs
- AdRotator.cs
- BoolLiteral.cs
- SchemaImporterExtensionElement.cs
- SortExpressionBuilder.cs
- PropertyChangedEventArgs.cs
- BordersPage.cs
- FormViewInsertEventArgs.cs
- ZipIOCentralDirectoryBlock.cs
- Instrumentation.cs
- CutCopyPasteHelper.cs
- MarkupWriter.cs
- TemplatePagerField.cs
- MatrixStack.cs
- InternalConfigHost.cs
- SqlBulkCopyColumnMapping.cs
- CustomMenuItemCollection.cs
- BindingNavigator.cs
- ProviderSettings.cs
- StreamInfo.cs
- OverflowException.cs
- StatusBarItemAutomationPeer.cs
- ShapingWorkspace.cs
- StringPropertyBuilder.cs
- TextSelectionProcessor.cs
- ResourceProperty.cs
- TableLayoutPanelDesigner.cs
- ExtendedProperty.cs
- BitmapImage.cs
- GatewayDefinition.cs
- cookieexception.cs
- DateTimeConverter.cs
- StyleXamlParser.cs
- ZipFileInfoCollection.cs
- SeekStoryboard.cs
- WebPermission.cs
- VisualBrush.cs
- ControlAdapter.cs
- OrderPreservingSpoolingTask.cs
- DebugView.cs
- ImageButton.cs
- SpellerInterop.cs
- HijriCalendar.cs
- DEREncoding.cs
- Int16.cs