Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / SystemNet / Net / IPEndPointCollection.cs / 1305376 / IPEndPointCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; [Serializable] public class IPEndPointCollection : Collection{ public IPEndPointCollection() { } protected override void SetItem(int index, IPEndPoint item) { if (item == null) { throw new ArgumentNullException("item"); } base.SetItem(index, item); } protected override void InsertItem(int index, IPEndPoint item) { if (item == null) { throw new ArgumentNullException("item"); } base.InsertItem(index, item); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; [Serializable] public class IPEndPointCollection : Collection{ public IPEndPointCollection() { } protected override void SetItem(int index, IPEndPoint item) { if (item == null) { throw new ArgumentNullException("item"); } base.SetItem(index, item); } protected override void InsertItem(int index, IPEndPoint item) { if (item == null) { throw new ArgumentNullException("item"); } base.InsertItem(index, item); } } } // 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
- CornerRadius.cs
- EventWaitHandleSecurity.cs
- InheritanceAttribute.cs
- UserControlBuildProvider.cs
- SqlHelper.cs
- ClrProviderManifest.cs
- ExpressionBinding.cs
- Crc32.cs
- SyntaxCheck.cs
- ObservableDictionary.cs
- XmlNode.cs
- CacheEntry.cs
- XPathSelectionIterator.cs
- InheritanceContextChangedEventManager.cs
- DropDownButton.cs
- CorePropertiesFilter.cs
- COM2EnumConverter.cs
- ScriptResourceHandler.cs
- CodeBlockBuilder.cs
- ValidationError.cs
- odbcmetadatacolumnnames.cs
- UInt16Converter.cs
- InvalidCommandTreeException.cs
- ContentIterators.cs
- CellIdBoolean.cs
- RemoteArgument.cs
- HttpModulesInstallComponent.cs
- TagNameToTypeMapper.cs
- PageParserFilter.cs
- BrushValueSerializer.cs
- BindingBase.cs
- Win32.cs
- TextViewBase.cs
- dataSvcMapFileLoader.cs
- DesignerHelpers.cs
- LocationInfo.cs
- InputScopeConverter.cs
- PointCollection.cs
- DrawingVisualDrawingContext.cs
- TypeHelpers.cs
- ExtensionMethods.cs
- ImageSource.cs
- SqlTopReducer.cs
- Deflater.cs
- TagMapInfo.cs
- RadialGradientBrush.cs
- QueryReaderSettings.cs
- ProgressBarRenderer.cs
- BufferModesCollection.cs
- TextInfo.cs
- DBNull.cs
- LexicalChunk.cs
- BindingExpression.cs
- Matrix3DStack.cs
- PageSetupDialog.cs
- AttachmentService.cs
- ToolStripComboBox.cs
- ZipPackage.cs
- MatrixIndependentAnimationStorage.cs
- ByteConverter.cs
- MessageSmuggler.cs
- RectAnimationClockResource.cs
- DateTimeOffset.cs
- ItemCollection.cs
- VariableQuery.cs
- AvTrace.cs
- ProfileServiceManager.cs
- SqlFactory.cs
- BufferBuilder.cs
- ValueType.cs
- RequestChannel.cs
- ProgressBarAutomationPeer.cs
- ToolStripContextMenu.cs
- CheckedListBox.cs
- DispatcherBuilder.cs
- FormViewUpdateEventArgs.cs
- NetSectionGroup.cs
- Geometry3D.cs
- CreateUserWizardStep.cs
- ProfileManager.cs
- PersonalizablePropertyEntry.cs
- HtmlWindowCollection.cs
- GridViewColumnHeader.cs
- CookielessHelper.cs
- HttpResponse.cs
- PaperSource.cs
- DesignerSerializationOptionsAttribute.cs
- ObjectDataSourceView.cs
- ListViewUpdatedEventArgs.cs
- Error.cs
- Operator.cs
- LedgerEntryCollection.cs
- OpenFileDialog.cs
- mil_commands.cs
- TcpClientChannel.cs
- BamlLocalizableResourceKey.cs
- ThreadNeutralSemaphore.cs
- TypographyProperties.cs
- GlobalizationSection.cs
- basenumberconverter.cs