Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / SystemNet / Net / PeerToPeer / PeerNameRecordCollection.cs / 1305376 / PeerNameRecordCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.PeerToPeer { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; [Serializable] public class PeerNameRecordCollection : Collection{ public PeerNameRecordCollection() { } protected override void SetItem(int index, PeerNameRecord item) { if (item == null) { throw new ArgumentNullException("item"); } base.SetItem(index, item); } protected override void InsertItem(int index, PeerNameRecord 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.PeerToPeer { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; [Serializable] public class PeerNameRecordCollection : Collection{ public PeerNameRecordCollection() { } protected override void SetItem(int index, PeerNameRecord item) { if (item == null) { throw new ArgumentNullException("item"); } base.SetItem(index, item); } protected override void InsertItem(int index, PeerNameRecord 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
- FlowDocument.cs
- ExpandCollapseIsCheckedConverter.cs
- XamlInt32CollectionSerializer.cs
- FieldToken.cs
- OdbcError.cs
- ProjectionCamera.cs
- RenderData.cs
- SwitchLevelAttribute.cs
- KoreanLunisolarCalendar.cs
- XamlSerializerUtil.cs
- StorageAssociationSetMapping.cs
- SessionIDManager.cs
- UriExt.cs
- SecurityStateEncoder.cs
- SqlLiftWhereClauses.cs
- BindingMemberInfo.cs
- CustomWebEventKey.cs
- RangeValuePattern.cs
- shaperfactoryquerycacheentry.cs
- XmlSignificantWhitespace.cs
- DeploymentSection.cs
- MobileControlsSectionHelper.cs
- SecUtil.cs
- WebBrowserPermission.cs
- OdbcInfoMessageEvent.cs
- SchemaImporterExtension.cs
- TTSEngineProxy.cs
- TextElementEnumerator.cs
- WsatEtwTraceListener.cs
- SoapCommonClasses.cs
- Point3DAnimationBase.cs
- DocumentsTrace.cs
- DataMember.cs
- SubpageParaClient.cs
- NavigationCommands.cs
- CompositeDataBoundControl.cs
- AsyncResult.cs
- EntityCollectionChangedParams.cs
- TokenizerHelper.cs
- VScrollProperties.cs
- SharedDp.cs
- nulltextcontainer.cs
- Command.cs
- DataGridViewSelectedColumnCollection.cs
- PartialCachingAttribute.cs
- grammarelement.cs
- DateTimeFormatInfoScanner.cs
- AccessViolationException.cs
- EventBindingService.cs
- BulletedList.cs
- WorkflowOwnershipException.cs
- PersonalizationState.cs
- OutputWindow.cs
- StateMachineWorkflow.cs
- HasCopySemanticsAttribute.cs
- RemoteWebConfigurationHostStream.cs
- AddValidationError.cs
- DependencyProperty.cs
- XmlTextAttribute.cs
- ReflectionUtil.cs
- JsonDeserializer.cs
- NameScope.cs
- TypographyProperties.cs
- FilteredAttributeCollection.cs
- WebPartZoneBase.cs
- ProxyWebPart.cs
- FontFamily.cs
- ToolStripContainerActionList.cs
- unsafenativemethodstextservices.cs
- Exceptions.cs
- GridViewRowCollection.cs
- wmiprovider.cs
- AnimationStorage.cs
- Funcletizer.cs
- Compiler.cs
- TraceXPathNavigator.cs
- ProfileGroupSettingsCollection.cs
- AcceleratedTokenAuthenticator.cs
- DriveNotFoundException.cs
- MemoryRecordBuffer.cs
- SpinWait.cs
- ContractComponent.cs
- UrlRoutingHandler.cs
- SweepDirectionValidation.cs
- MenuItemStyleCollection.cs
- SynchronizingStream.cs
- TableItemStyle.cs
- FileUpload.cs
- XmlArrayItemAttribute.cs
- IPAddress.cs
- DrawingDrawingContext.cs
- DataServicePagingProviderWrapper.cs
- PeerEndPoint.cs
- ObjectQuery.cs
- Crc32.cs
- EUCJPEncoding.cs
- UnsafeNativeMethods.cs
- DataGridViewCellStateChangedEventArgs.cs
- HScrollProperties.cs
- SQLBinary.cs