Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxItemCollection.cs / 1 / ToolboxItemCollection.cs
// ------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.Drawing.Design { using System; using System.Collections; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public sealed class ToolboxItemCollection : ReadOnlyCollectionBase { ////// A collection that stores ///objects. /// /// /// public ToolboxItemCollection(ToolboxItemCollection value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// /// public ToolboxItemCollection(ToolboxItem[] value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// /// public ToolboxItem this[int index] { get { return ((ToolboxItem)(InnerList[index])); } } ///Represents the entry at the specified index of the ///. /// /// public bool Contains(ToolboxItem value) { return InnerList.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// /// public void CopyTo(ToolboxItem[] array, int index) { InnerList.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// /// public int IndexOf(ToolboxItem value) { return InnerList.IndexOf(value); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ------------------------------------------------------------------------------ //Returns the index of a ///in /// the . // Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.Drawing.Design { using System; using System.Collections; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public sealed class ToolboxItemCollection : ReadOnlyCollectionBase { ////// A collection that stores ///objects. /// /// /// public ToolboxItemCollection(ToolboxItemCollection value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// /// public ToolboxItemCollection(ToolboxItem[] value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// /// public ToolboxItem this[int index] { get { return ((ToolboxItem)(InnerList[index])); } } ///Represents the entry at the specified index of the ///. /// /// public bool Contains(ToolboxItem value) { return InnerList.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// /// public void CopyTo(ToolboxItem[] array, int index) { InnerList.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// /// public int IndexOf(ToolboxItem value) { return InnerList.IndexOf(value); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Returns the index of a ///in /// the .
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlDocument.cs
- ChangeConflicts.cs
- UITypeEditor.cs
- Rotation3DKeyFrameCollection.cs
- ValidationErrorInfo.cs
- NaturalLanguageHyphenator.cs
- AnnotationHighlightLayer.cs
- RegexCompiler.cs
- EditorPartCollection.cs
- ProjectionPruner.cs
- TypeReference.cs
- TreeViewAutomationPeer.cs
- GridViewColumnHeader.cs
- ConfigurationManagerHelper.cs
- BulletedListEventArgs.cs
- QuaternionAnimation.cs
- MethodBody.cs
- CellParaClient.cs
- PtsContext.cs
- PtsHost.cs
- IntegerCollectionEditor.cs
- FixedSOMLineCollection.cs
- MediaCommands.cs
- SQLInt16.cs
- RepeatButtonAutomationPeer.cs
- AssemblySettingAttributes.cs
- NamespaceDecl.cs
- DesignTimeParseData.cs
- ClonableStack.cs
- SymLanguageType.cs
- DateTimeConstantAttribute.cs
- ConstantCheck.cs
- HttpModuleAction.cs
- ListBoxItemAutomationPeer.cs
- VirtualDirectoryMapping.cs
- MailDefinition.cs
- DomainUpDown.cs
- XmlValueConverter.cs
- PasswordRecovery.cs
- GreaterThan.cs
- UnmanagedBitmapWrapper.cs
- DynamicMetaObject.cs
- ChildrenQuery.cs
- FillRuleValidation.cs
- SecurityPolicySection.cs
- AssertSection.cs
- FontStyles.cs
- TransformedBitmap.cs
- SerializationEventsCache.cs
- AssemblySettingAttributes.cs
- ReflectPropertyDescriptor.cs
- ObjectParameterCollection.cs
- InternalTypeHelper.cs
- ToolStripRenderEventArgs.cs
- SafeBitVector32.cs
- StateFinalizationActivity.cs
- SemanticResultKey.cs
- ReachDocumentSequenceSerializer.cs
- CapabilitiesState.cs
- EdmItemError.cs
- BinaryObjectReader.cs
- TimeSpanValidator.cs
- ConfigurationStrings.cs
- PopOutPanel.cs
- NameValueSectionHandler.cs
- XamlReaderConstants.cs
- WindowsRichEditRange.cs
- DataGridView.cs
- AssertFilter.cs
- PersonalizationProviderHelper.cs
- CancellationHandlerDesigner.cs
- Events.cs
- VirtualDirectoryMapping.cs
- XmlSchemaGroupRef.cs
- EdmProviderManifest.cs
- VersionedStream.cs
- AssemblyBuilder.cs
- SecurityManager.cs
- OdbcParameterCollection.cs
- CompilationSection.cs
- ActivityCodeDomReferenceService.cs
- ObjectSet.cs
- NegationPusher.cs
- FrameworkContentElement.cs
- PieceDirectory.cs
- WebResponse.cs
- IgnoreSectionHandler.cs
- LabelInfo.cs
- Point4DValueSerializer.cs
- WebServiceErrorEvent.cs
- UnaryNode.cs
- EngineSite.cs
- SystemWebSectionGroup.cs
- DecodeHelper.cs
- OleDbMetaDataFactory.cs
- ProfileSettings.cs
- ResXResourceWriter.cs
- DataBoundControlParameterTarget.cs
- SystemResources.cs
- FigureParagraph.cs