Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxItemCollection.cs / 1305376 / 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
- SafeReadContext.cs
- ObjectListItemCollection.cs
- DBSqlParserColumn.cs
- BitmapFrame.cs
- dtdvalidator.cs
- FixedElement.cs
- BamlReader.cs
- TemplateComponentConnector.cs
- TimeoutHelper.cs
- UnsafeNativeMethods.cs
- ControlBuilderAttribute.cs
- SqlDataSourceView.cs
- DragEvent.cs
- Vector3DCollectionValueSerializer.cs
- InputScopeConverter.cs
- HtmlControlPersistable.cs
- FieldNameLookup.cs
- StringValueSerializer.cs
- InheritanceContextChangedEventManager.cs
- TextTreeTextBlock.cs
- HttpClientCertificate.cs
- NominalTypeEliminator.cs
- TreeNodeEventArgs.cs
- CardSpaceSelector.cs
- SystemException.cs
- ManipulationStartingEventArgs.cs
- HttpResponseInternalWrapper.cs
- CookielessHelper.cs
- UnionExpr.cs
- AdornedElementPlaceholder.cs
- ParameterModifier.cs
- DocumentPageHost.cs
- ConnectorSelectionGlyph.cs
- ExpandCollapsePattern.cs
- DeploymentExceptionMapper.cs
- ModuleBuilderData.cs
- ToolStripMenuItem.cs
- OracleFactory.cs
- CodeCompileUnit.cs
- CreationContext.cs
- ToolStripSettings.cs
- TextChangedEventArgs.cs
- BamlReader.cs
- CaseCqlBlock.cs
- QueryLifecycle.cs
- LockRecursionException.cs
- FamilyTypefaceCollection.cs
- MULTI_QI.cs
- PerformanceCounter.cs
- InputProcessorProfiles.cs
- baseshape.cs
- InputMethod.cs
- WindowsListViewItem.cs
- OptimizedTemplateContentHelper.cs
- Inflater.cs
- KeyEvent.cs
- DataGridLinkButton.cs
- DataColumnPropertyDescriptor.cs
- TreeNodeBindingCollection.cs
- BoolExpr.cs
- MultiBindingExpression.cs
- MenuItem.cs
- FloaterParagraph.cs
- PeerApplicationLaunchInfo.cs
- ReaderContextStackData.cs
- OwnerDrawPropertyBag.cs
- ExecutionContext.cs
- ArraySubsetEnumerator.cs
- MessageQueuePermissionAttribute.cs
- MessageAction.cs
- DynamicMethod.cs
- Enlistment.cs
- ThemeableAttribute.cs
- WebPartPersonalization.cs
- CodeEntryPointMethod.cs
- CodeNamespaceImport.cs
- StatusBarAutomationPeer.cs
- ValidatedControlConverter.cs
- HttpFileCollection.cs
- ScriptResourceInfo.cs
- CrossAppDomainChannel.cs
- SQLByte.cs
- WebEvents.cs
- SiteMapDataSourceDesigner.cs
- X509CertificateTrustedIssuerElementCollection.cs
- DescendentsWalker.cs
- SafeNativeMethods.cs
- SourceFileBuildProvider.cs
- SizeChangedInfo.cs
- IntPtr.cs
- TemplatePartAttribute.cs
- MexHttpBindingCollectionElement.cs
- AddInAttribute.cs
- FormatterServices.cs
- TemplateComponentConnector.cs
- PropertyFilterAttribute.cs
- BufferedGraphicsContext.cs
- PrintingPermissionAttribute.cs
- DefaultSerializationProviderAttribute.cs
- SqlCacheDependencySection.cs