Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Clock.cs
- ADMembershipUser.cs
- XmlCharacterData.cs
- Socket.cs
- NumericExpr.cs
- METAHEADER.cs
- MenuAdapter.cs
- AppSettingsSection.cs
- RotateTransform3D.cs
- CodeValidator.cs
- AffineTransform3D.cs
- InstancePersistenceCommandException.cs
- AsyncPostBackErrorEventArgs.cs
- RankException.cs
- AccessKeyManager.cs
- Transform3DGroup.cs
- DesignerView.xaml.cs
- DrawListViewColumnHeaderEventArgs.cs
- SourceChangedEventArgs.cs
- ProviderConnectionPointCollection.cs
- ParserContext.cs
- LocationSectionRecord.cs
- WizardStepCollectionEditor.cs
- Visitor.cs
- UnauthorizedWebPart.cs
- KeyValuePairs.cs
- DirectoryObjectSecurity.cs
- PageRequestManager.cs
- NetworkStream.cs
- ContentType.cs
- BinaryMethodMessage.cs
- SourceFileInfo.cs
- FontUnit.cs
- PageParserFilter.cs
- RSAOAEPKeyExchangeDeformatter.cs
- RenderContext.cs
- DomainConstraint.cs
- VectorCollection.cs
- SecUtil.cs
- HostAdapter.cs
- DeflateEmulationStream.cs
- Atom10FormatterFactory.cs
- AlphaSortedEnumConverter.cs
- SafeThemeHandle.cs
- Attributes.cs
- _ShellExpression.cs
- Thickness.cs
- CellIdBoolean.cs
- RowSpanVector.cs
- BatchParser.cs
- Point.cs
- SqlUtil.cs
- MachineKeySection.cs
- ValidationEventArgs.cs
- HtmlSelectionListAdapter.cs
- Documentation.cs
- ErrorFormatter.cs
- IResourceProvider.cs
- RecordsAffectedEventArgs.cs
- ColorBlend.cs
- PersonalizationDictionary.cs
- AnnotationService.cs
- DbSource.cs
- MimeWriter.cs
- StreamingContext.cs
- Graphics.cs
- WindowsToolbarAsMenu.cs
- WebEvents.cs
- BitmapFrameEncode.cs
- InputElement.cs
- AstNode.cs
- ToolStripSettings.cs
- ExpressionBuilder.cs
- TextView.cs
- RSAOAEPKeyExchangeFormatter.cs
- SizeConverter.cs
- LoadItemsEventArgs.cs
- NamedPipeProcessProtocolHandler.cs
- BuilderPropertyEntry.cs
- NativeMethods.cs
- GetImportFileNameRequest.cs
- AspNetSynchronizationContext.cs
- XMLDiffLoader.cs
- FontSizeConverter.cs
- StickyNoteAnnotations.cs
- XsltInput.cs
- EditorPart.cs
- HtmlSelectionListAdapter.cs
- ConfigurationFileMap.cs
- ToolStripMenuItemDesigner.cs
- RawTextInputReport.cs
- ConfigErrorGlyph.cs
- CompositeScriptReference.cs
- AffineTransform3D.cs
- _AutoWebProxyScriptWrapper.cs
- DataServiceProcessingPipeline.cs
- IteratorFilter.cs
- CodeMemberProperty.cs
- AdPostCacheSubstitution.cs
- TimelineGroup.cs