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
- OpenTypeLayoutCache.cs
- SyntaxCheck.cs
- JournalEntryStack.cs
- TypefaceMap.cs
- SimpleFieldTemplateFactory.cs
- TextViewSelectionProcessor.cs
- XmlReturnReader.cs
- OledbConnectionStringbuilder.cs
- OdbcReferenceCollection.cs
- Point4D.cs
- ConnectionManagementElementCollection.cs
- SignatureDescription.cs
- DbDataRecord.cs
- WebPartEditorCancelVerb.cs
- TrackingMemoryStream.cs
- PageClientProxyGenerator.cs
- BookmarkNameHelper.cs
- CapiNative.cs
- SqlError.cs
- PixelShader.cs
- RightsManagementPermission.cs
- filewebrequest.cs
- WebErrorHandler.cs
- SerializationInfoEnumerator.cs
- VectorAnimationBase.cs
- SafeArrayTypeMismatchException.cs
- KeyNotFoundException.cs
- SplitterPanelDesigner.cs
- WindowsScrollBar.cs
- SqlStatistics.cs
- DataGridViewRowPrePaintEventArgs.cs
- MetadataPropertyAttribute.cs
- WebContext.cs
- ArgumentOutOfRangeException.cs
- PointConverter.cs
- VectorCollection.cs
- Script.cs
- DecimalFormatter.cs
- ErrorLog.cs
- GB18030Encoding.cs
- SynchronousChannelMergeEnumerator.cs
- CompilerErrorCollection.cs
- ProxyHelper.cs
- ToolZoneDesigner.cs
- ColorIndependentAnimationStorage.cs
- ActivationServices.cs
- CollectionChangeEventArgs.cs
- PropertyGridEditorPart.cs
- BuildManager.cs
- TimeoutException.cs
- OuterGlowBitmapEffect.cs
- MatrixConverter.cs
- PropertyTabAttribute.cs
- X509CertificateChain.cs
- XmlSchemaSimpleTypeRestriction.cs
- XPathQilFactory.cs
- ServiceObjectContainer.cs
- XmlElement.cs
- DataGridItem.cs
- ControlBuilder.cs
- CookielessData.cs
- EntityModelBuildProvider.cs
- CodeDOMProvider.cs
- DataGridViewLayoutData.cs
- TextDecorationCollectionConverter.cs
- StrongTypingException.cs
- DataSysAttribute.cs
- ColorAnimation.cs
- SqlDelegatedTransaction.cs
- GenericQueueSurrogate.cs
- LocatorGroup.cs
- XmlWellformedWriter.cs
- DurableInstanceProvider.cs
- ResourceProviderFactory.cs
- ConfigurationManager.cs
- QueryPageSettingsEventArgs.cs
- KeyboardEventArgs.cs
- OdbcDataReader.cs
- NativeMethods.cs
- Tile.cs
- StyleConverter.cs
- SqlDeflator.cs
- TextEmbeddedObject.cs
- FileCodeGroup.cs
- SkipStoryboardToFill.cs
- DBBindings.cs
- CommandLibraryHelper.cs
- CompilerParameters.cs
- PrintDialogException.cs
- WinCategoryAttribute.cs
- NameValuePermission.cs
- FrameworkRichTextComposition.cs
- ApplicationInfo.cs
- DataFormats.cs
- ListControl.cs
- SecurityElement.cs
- ConvertTextFrag.cs
- JumpTask.cs
- Module.cs
- PropertyChange.cs