Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Messaging / System / Messaging / MessageQueuePermissionEntryCollection.cs / 1305376 / MessageQueuePermissionEntryCollection.cs
//---------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Messaging { using System.Collections; ///[ Serializable() ] public class MessageQueuePermissionEntryCollection : CollectionBase { MessageQueuePermission owner; /// /// internal MessageQueuePermissionEntryCollection(MessageQueuePermission owner) { this.owner = owner; } /// public MessageQueuePermissionEntry this[int index] { get { return (MessageQueuePermissionEntry)List[index]; } set { List[index] = value; } } /// public int Add(MessageQueuePermissionEntry value) { return List.Add(value); } /// public void AddRange(MessageQueuePermissionEntry[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } /// public void AddRange(MessageQueuePermissionEntryCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int currentCount = value.Count; for (int i = 0; i < currentCount; i = ((i) + (1))) { this.Add(value[i]); } } /// public bool Contains(MessageQueuePermissionEntry value) { return List.Contains(value); } /// public void CopyTo(MessageQueuePermissionEntry[] array, int index) { List.CopyTo(array, index); } /// public int IndexOf(MessageQueuePermissionEntry value) { return List.IndexOf(value); } /// public void Insert(int index, MessageQueuePermissionEntry value) { List.Insert(index, value); } /// public void Remove(MessageQueuePermissionEntry value) { List.Remove(value); } /// /// protected override void OnClear() { this.owner.Clear(); } /// /// protected override void OnInsert(int index, object value) { this.owner.Clear(); } /// /// protected override void OnRemove(int index, object value) { this.owner.Clear(); } /// /// protected override void OnSet(int index, object oldValue, object newValue) { this.owner.Clear(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Messaging { using System.Collections; ///[ Serializable() ] public class MessageQueuePermissionEntryCollection : CollectionBase { MessageQueuePermission owner; /// /// internal MessageQueuePermissionEntryCollection(MessageQueuePermission owner) { this.owner = owner; } /// public MessageQueuePermissionEntry this[int index] { get { return (MessageQueuePermissionEntry)List[index]; } set { List[index] = value; } } /// public int Add(MessageQueuePermissionEntry value) { return List.Add(value); } /// public void AddRange(MessageQueuePermissionEntry[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } /// public void AddRange(MessageQueuePermissionEntryCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int currentCount = value.Count; for (int i = 0; i < currentCount; i = ((i) + (1))) { this.Add(value[i]); } } /// public bool Contains(MessageQueuePermissionEntry value) { return List.Contains(value); } /// public void CopyTo(MessageQueuePermissionEntry[] array, int index) { List.CopyTo(array, index); } /// public int IndexOf(MessageQueuePermissionEntry value) { return List.IndexOf(value); } /// public void Insert(int index, MessageQueuePermissionEntry value) { List.Insert(index, value); } /// public void Remove(MessageQueuePermissionEntry value) { List.Remove(value); } /// /// protected override void OnClear() { this.owner.Clear(); } /// /// protected override void OnInsert(int index, object value) { this.owner.Clear(); } /// /// protected override void OnRemove(int index, object value) { this.owner.Clear(); } /// /// protected override void OnSet(int index, object oldValue, object newValue) { this.owner.Clear(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FontFamily.cs
- ComboBox.cs
- ToolStripTemplateNode.cs
- PerformanceCounterPermissionAttribute.cs
- TimeBoundedCache.cs
- CalendarDay.cs
- DataGridItemEventArgs.cs
- SmtpClient.cs
- ClientTargetSection.cs
- WindowsContainer.cs
- GridViewAutomationPeer.cs
- HuffmanTree.cs
- Debugger.cs
- DbSourceCommand.cs
- BoundColumn.cs
- StreamResourceInfo.cs
- BaseInfoTable.cs
- Path.cs
- LinkGrep.cs
- EntityTypeEmitter.cs
- ActivityCodeDomSerializationManager.cs
- SemanticAnalyzer.cs
- CollectionViewProxy.cs
- WebResourceAttribute.cs
- TdsRecordBufferSetter.cs
- PreparingEnlistment.cs
- RealProxy.cs
- TableLayoutStyle.cs
- ToolStripProgressBar.cs
- StrokeCollectionConverter.cs
- ZipIOLocalFileHeader.cs
- AnnotationComponentChooser.cs
- Emitter.cs
- EntityAdapter.cs
- TableLayoutStyle.cs
- OleDbCommandBuilder.cs
- HitTestWithGeometryDrawingContextWalker.cs
- PageContentCollection.cs
- ChildTable.cs
- SqlDataSourceFilteringEventArgs.cs
- BitmapData.cs
- ContextStaticAttribute.cs
- ReadOnlyTernaryTree.cs
- ToolStripCodeDomSerializer.cs
- StreamGeometryContext.cs
- DesignerAdapterAttribute.cs
- SHA384.cs
- DbMetaDataColumnNames.cs
- ThreadSafeList.cs
- Optimizer.cs
- WebPartZone.cs
- TabItem.cs
- HttpHandler.cs
- UniformGrid.cs
- ArcSegment.cs
- DataRelation.cs
- XmlIncludeAttribute.cs
- JoinQueryOperator.cs
- FormParameter.cs
- StreamGeometry.cs
- Transform3DGroup.cs
- MobileUserControl.cs
- ControlAdapter.cs
- DbProviderFactory.cs
- XDRSchema.cs
- ShellProvider.cs
- ConsumerConnectionPointCollection.cs
- InkCanvasSelectionAdorner.cs
- DictionaryBase.cs
- AccessDataSource.cs
- ObjectListGeneralPage.cs
- Win32.cs
- SingleStorage.cs
- AmbientLight.cs
- SchemaCollectionCompiler.cs
- BitmapCodecInfo.cs
- LassoSelectionBehavior.cs
- Win32.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- FileDialogPermission.cs
- ScrollEvent.cs
- XmlAtomicValue.cs
- GACIdentityPermission.cs
- DiffuseMaterial.cs
- OLEDB_Enum.cs
- GridEntry.cs
- JavaScriptObjectDeserializer.cs
- ConstructorNeedsTagAttribute.cs
- ListControl.cs
- Peer.cs
- SqlNotificationRequest.cs
- WebReferencesBuildProvider.cs
- DbBuffer.cs
- ParallelLoopState.cs
- CellTreeNodeVisitors.cs
- NotifyCollectionChangedEventArgs.cs
- ListManagerBindingsCollection.cs
- LinqDataSourceUpdateEventArgs.cs
- HostedHttpTransportManager.cs
- TrackBarRenderer.cs