Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- GraphicsContext.cs
- WebEvents.cs
- PrinterSettings.cs
- PagerSettings.cs
- BrushMappingModeValidation.cs
- FreeIndexList.cs
- AnimationTimeline.cs
- precedingquery.cs
- SqlMethodTransformer.cs
- NumberAction.cs
- NumberAction.cs
- FormParameter.cs
- ParameterBuilder.cs
- DesignParameter.cs
- CachedFontFamily.cs
- MailDefinition.cs
- CqlParserHelpers.cs
- ServiceObjectContainer.cs
- ToolStripLocationCancelEventArgs.cs
- XmlUtil.cs
- StateManagedCollection.cs
- PointValueSerializer.cs
- XmlSchemaAnyAttribute.cs
- MatrixCamera.cs
- ColorInterpolationModeValidation.cs
- GPStream.cs
- MenuItemBindingCollection.cs
- DWriteFactory.cs
- CustomAssemblyResolver.cs
- DataGridDetailsPresenter.cs
- Directory.cs
- CharAnimationUsingKeyFrames.cs
- streamingZipPartStream.cs
- figurelength.cs
- CssClassPropertyAttribute.cs
- PathGradientBrush.cs
- TreeNodeStyle.cs
- SortKey.cs
- SettingsPropertyValue.cs
- FixUpCollection.cs
- SqlTriggerAttribute.cs
- clipboard.cs
- MessageQueueEnumerator.cs
- VerificationException.cs
- BaseCodePageEncoding.cs
- LongCountAggregationOperator.cs
- EncoderParameters.cs
- HttpPostClientProtocol.cs
- CrossContextChannel.cs
- SiteMapHierarchicalDataSourceView.cs
- SamlAssertion.cs
- ActivationServices.cs
- InheritedPropertyDescriptor.cs
- DesignSurface.cs
- Preprocessor.cs
- SqlConnectionFactory.cs
- SerializerDescriptor.cs
- Durable.cs
- SchemaImporterExtensionsSection.cs
- WebReferencesBuildProvider.cs
- FrameworkContentElement.cs
- TableLayoutStyleCollection.cs
- XPathNode.cs
- DataRecord.cs
- AnchoredBlock.cs
- SubclassTypeValidatorAttribute.cs
- Figure.cs
- AuthenticationServiceManager.cs
- RequestCacheValidator.cs
- DATA_BLOB.cs
- ExpressionsCollectionEditor.cs
- PermissionRequestEvidence.cs
- TextEffectCollection.cs
- Application.cs
- RedirectionProxy.cs
- SelectionRange.cs
- RenameRuleObjectDialog.cs
- XpsFixedPageReaderWriter.cs
- DesignBindingPicker.cs
- ControlDesigner.cs
- CalendarDayButton.cs
- DataControlCommands.cs
- TdsParserSafeHandles.cs
- XmlRawWriter.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- BasicExpressionVisitor.cs
- ReadOnlyPermissionSet.cs
- ScrollChrome.cs
- Object.cs
- DbConnectionStringCommon.cs
- SHA1Managed.cs
- VisualStyleRenderer.cs
- _LocalDataStoreMgr.cs
- BufferModesCollection.cs
- RequestCachePolicy.cs
- ResourceSetExpression.cs
- EncryptedPackage.cs
- UnmanagedMemoryStream.cs
- XPathMessageFilterElementComparer.cs
- cookie.cs