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
- ApplicationManager.cs
- followingsibling.cs
- MetaModel.cs
- DateTimeParse.cs
- FillRuleValidation.cs
- StringDictionary.cs
- DiscoveryExceptionDictionary.cs
- TypeElementCollection.cs
- AffineTransform3D.cs
- ColumnResizeUndoUnit.cs
- DataGridViewCellLinkedList.cs
- MouseDevice.cs
- PerspectiveCamera.cs
- ItemPager.cs
- Matrix3D.cs
- Label.cs
- Wildcard.cs
- DataServiceRequestOfT.cs
- PerformanceCounterTraceRecord.cs
- DataBoundLiteralControl.cs
- URLMembershipCondition.cs
- UserCancellationException.cs
- ItemCollection.cs
- EUCJPEncoding.cs
- InvalidEnumArgumentException.cs
- RuleSetCollection.cs
- KeyEvent.cs
- TypedTableHandler.cs
- SQLBoolean.cs
- ProtocolsConfiguration.cs
- ElementHostPropertyMap.cs
- HtmlControlPersistable.cs
- ApplicationSettingsBase.cs
- WebPartConnectVerb.cs
- PartManifestEntry.cs
- MailAddressCollection.cs
- MobileResource.cs
- PrintDialogException.cs
- HttpSysSettings.cs
- NonSerializedAttribute.cs
- DependencyPropertyKey.cs
- MissingFieldException.cs
- CloseCryptoHandleRequest.cs
- AccessDataSourceView.cs
- Choices.cs
- NotificationContext.cs
- Color.cs
- TextWriterEngine.cs
- DBPropSet.cs
- EncodingTable.cs
- X509IssuerSerialKeyIdentifierClause.cs
- DependencyObjectPropertyDescriptor.cs
- StoreItemCollection.Loader.cs
- DirectionalAction.cs
- LingerOption.cs
- GridViewRowEventArgs.cs
- FileFormatException.cs
- QueryCacheEntry.cs
- ChainOfDependencies.cs
- ClrProviderManifest.cs
- CSharpCodeProvider.cs
- TraceFilter.cs
- ProfileSettingsCollection.cs
- SpellerInterop.cs
- Registry.cs
- configsystem.cs
- FlowDocument.cs
- NavigationHelper.cs
- PackageDigitalSignature.cs
- ReflectPropertyDescriptor.cs
- Timeline.cs
- Helper.cs
- BooleanStorage.cs
- CommonXSendMessage.cs
- ResourcePermissionBaseEntry.cs
- ConfigurationFileMap.cs
- ExtensionWindow.cs
- Buffer.cs
- SmiEventSink.cs
- SmtpTransport.cs
- RootProjectionNode.cs
- ValidationError.cs
- HttpCookiesSection.cs
- DataServiceRequest.cs
- EUCJPEncoding.cs
- XdrBuilder.cs
- NameObjectCollectionBase.cs
- ViewEvent.cs
- ProjectionPathSegment.cs
- OrderByBuilder.cs
- PreviewKeyDownEventArgs.cs
- UnsafeNativeMethods.cs
- DoubleAnimationClockResource.cs
- ComponentFactoryHelpers.cs
- BoundPropertyEntry.cs
- tooltip.cs
- ComponentChangedEvent.cs
- Int32EqualityComparer.cs
- RemotingServices.cs
- Rijndael.cs