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
- HttpProfileGroupBase.cs
- TableRow.cs
- SoapIncludeAttribute.cs
- TrustManager.cs
- hresults.cs
- FileCodeGroup.cs
- SecurityUtils.cs
- SqlUserDefinedTypeAttribute.cs
- versioninfo.cs
- ConsoleKeyInfo.cs
- EntityWithKeyStrategy.cs
- TreeNodeCollection.cs
- TextTreeRootTextBlock.cs
- UnsafeNativeMethods.cs
- DbParameterCollection.cs
- FileCodeGroup.cs
- ISAPIWorkerRequest.cs
- EditingMode.cs
- ApplicationCommands.cs
- MetadataSection.cs
- StyleModeStack.cs
- ImageSourceValueSerializer.cs
- Int64AnimationUsingKeyFrames.cs
- TableCellCollection.cs
- EdmEntityTypeAttribute.cs
- ContractNamespaceAttribute.cs
- Speller.cs
- DesigntimeLicenseContext.cs
- VectorCollection.cs
- TextFormatterImp.cs
- FrameworkElement.cs
- ExtendedProperty.cs
- GroupItemAutomationPeer.cs
- MouseActionConverter.cs
- DataControlCommands.cs
- safelinkcollection.cs
- DirtyTextRange.cs
- DBBindings.cs
- _NestedMultipleAsyncResult.cs
- CustomSignedXml.cs
- PassportAuthenticationEventArgs.cs
- Region.cs
- LockCookie.cs
- Matrix3D.cs
- BoolExpr.cs
- LookupNode.cs
- PEFileEvidenceFactory.cs
- UrlRoutingHandler.cs
- Preprocessor.cs
- Exceptions.cs
- RegexCaptureCollection.cs
- PerformanceCounterPermission.cs
- XmlArrayItemAttributes.cs
- EdmFunctionAttribute.cs
- DefaultValidator.cs
- RewritingPass.cs
- Tag.cs
- DesignerGenericWebPart.cs
- TextContainerChangeEventArgs.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- SynchronizationHandlesCodeDomSerializer.cs
- InvalidAsynchronousStateException.cs
- QuaternionConverter.cs
- SelectionItemPatternIdentifiers.cs
- XmlEncoding.cs
- StructureChangedEventArgs.cs
- CollectionViewGroup.cs
- ArrayWithOffset.cs
- IsolatedStorageFile.cs
- DisplayNameAttribute.cs
- NetNamedPipeSecurity.cs
- X509Certificate.cs
- ActivityValidator.cs
- TokenFactoryCredential.cs
- AggregatePushdown.cs
- GenericWebPart.cs
- ResourceExpressionEditorSheet.cs
- parserscommon.cs
- DescendentsWalker.cs
- HttpApplicationFactory.cs
- XmlAttributes.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- DbExpressionRules.cs
- InternalCache.cs
- GlobalizationAssembly.cs
- ToolStripMenuItem.cs
- SplitContainer.cs
- If.cs
- TreeNodeCollection.cs
- Vector3D.cs
- SoapTypeAttribute.cs
- ManagementOptions.cs
- CurrentChangedEventManager.cs
- SchemaImporterExtension.cs
- TdsParserHelperClasses.cs
- IdentityModelDictionary.cs
- DataKey.cs
- ConnectionPoolRegistry.cs
- DependentList.cs
- altserialization.cs