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
- CharacterMetrics.cs
- OrderedDictionaryStateHelper.cs
- StorageInfo.cs
- OutputChannel.cs
- CodeCommentStatementCollection.cs
- HttpPostedFileBase.cs
- DefaultWorkflowLoaderService.cs
- DbConnectionPoolOptions.cs
- ValidateNames.cs
- OleDbSchemaGuid.cs
- CopyAction.cs
- StreamWriter.cs
- WebPartVerbsEventArgs.cs
- FontNamesConverter.cs
- ExceptionUtil.cs
- MultiTrigger.cs
- _NestedSingleAsyncResult.cs
- CfgRule.cs
- KeyedQueue.cs
- AudioBase.cs
- Label.cs
- LinkLabelLinkClickedEvent.cs
- CatalogPartCollection.cs
- ListBase.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- TdsValueSetter.cs
- DataServicePagingProviderWrapper.cs
- dsa.cs
- sitestring.cs
- HTMLTextWriter.cs
- DocumentXmlWriter.cs
- SafeBitVector32.cs
- DefaultValueMapping.cs
- IPPacketInformation.cs
- ScriptManagerProxy.cs
- WebBodyFormatMessageProperty.cs
- WebPartEventArgs.cs
- AdRotator.cs
- JsonObjectDataContract.cs
- DateTimeStorage.cs
- MenuBase.cs
- RadioButtonList.cs
- TextServicesContext.cs
- StrokeCollection.cs
- TrustLevelCollection.cs
- TypeContext.cs
- MarshalByRefObject.cs
- PointHitTestParameters.cs
- DataGridViewComboBoxEditingControl.cs
- ReadOnlyAttribute.cs
- DataGridViewComboBoxCell.cs
- CurrentChangingEventArgs.cs
- ThicknessAnimationBase.cs
- ScrollBar.cs
- CommandConverter.cs
- Comparer.cs
- PackageRelationship.cs
- TextElementAutomationPeer.cs
- iisPickupDirectory.cs
- WindowsAuthenticationModule.cs
- PolicyValidationException.cs
- XmlLanguageConverter.cs
- ModifierKeysConverter.cs
- ModifierKeysConverter.cs
- ModelUIElement3D.cs
- RuleSettingsCollection.cs
- RemotingSurrogateSelector.cs
- VisualStyleElement.cs
- ImageSourceValueSerializer.cs
- WebPartMenuStyle.cs
- AsyncWaitHandle.cs
- ToolStripArrowRenderEventArgs.cs
- OdbcInfoMessageEvent.cs
- MediaElementAutomationPeer.cs
- CommonXSendMessage.cs
- GZipDecoder.cs
- UnsafeNativeMethods.cs
- HttpCapabilitiesBase.cs
- HttpPostedFile.cs
- Column.cs
- RegistrationServices.cs
- XamlToRtfParser.cs
- ObjectSet.cs
- Int32CollectionConverter.cs
- SequentialUshortCollection.cs
- UInt64Storage.cs
- NetworkCredential.cs
- StrokeDescriptor.cs
- DataErrorValidationRule.cs
- SingleStorage.cs
- PlaceHolder.cs
- ExternalException.cs
- CodeGenerationManager.cs
- FusionWrap.cs
- XmlException.cs
- ContentElement.cs
- TemplatePropertyEntry.cs
- FormsAuthenticationCredentials.cs
- ToolStripItemCollection.cs
- XmlJsonReader.cs