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
- CollectionMarkupSerializer.cs
- ErrorWebPart.cs
- ConfigurationStrings.cs
- ItemContainerGenerator.cs
- Int32RectValueSerializer.cs
- XhtmlBasicFormAdapter.cs
- ActiveXHelper.cs
- DispatcherTimer.cs
- FlowDocumentView.cs
- CodeChecksumPragma.cs
- ApplicationInfo.cs
- PointLightBase.cs
- Utilities.cs
- BinaryObjectWriter.cs
- CharConverter.cs
- bidPrivateBase.cs
- MetadataWorkspace.cs
- QuaternionAnimationUsingKeyFrames.cs
- Point4DValueSerializer.cs
- Stack.cs
- HtmlInputHidden.cs
- ConfigurationException.cs
- ImageListStreamer.cs
- EventLog.cs
- VisualStyleTypesAndProperties.cs
- Int32Storage.cs
- TripleDES.cs
- IOException.cs
- Geometry3D.cs
- ForeignKeyFactory.cs
- RequestCacheValidator.cs
- _SingleItemRequestCache.cs
- DefaultParameterValueAttribute.cs
- GPRECTF.cs
- DataContractSerializerOperationBehavior.cs
- TextLineBreak.cs
- WebContext.cs
- XamlTreeBuilderBamlRecordWriter.cs
- MutexSecurity.cs
- Rectangle.cs
- LinearGradientBrush.cs
- safePerfProviderHandle.cs
- EventProxy.cs
- StylusCaptureWithinProperty.cs
- AsmxEndpointPickerExtension.cs
- HttpCapabilitiesBase.cs
- LayoutInformation.cs
- WithStatement.cs
- RadioButtonRenderer.cs
- PocoEntityKeyStrategy.cs
- SoapMessage.cs
- GridToolTip.cs
- ErrorEventArgs.cs
- WebColorConverter.cs
- DataGridViewDataErrorEventArgs.cs
- ConnectionProviderAttribute.cs
- FlowThrottle.cs
- CacheRequest.cs
- TypeLibConverter.cs
- PeerObject.cs
- HuffCodec.cs
- Label.cs
- PagesSection.cs
- ReceiveActivity.cs
- EntityFunctions.cs
- FormView.cs
- SoapWriter.cs
- PackageDigitalSignatureManager.cs
- ApplicationInfo.cs
- CollectionChangedEventManager.cs
- ManagementDateTime.cs
- WindowsButton.cs
- ControlParser.cs
- BitmapEffectGeneralTransform.cs
- TimerEventSubscriptionCollection.cs
- DataObjectMethodAttribute.cs
- TraceLevelStore.cs
- Parser.cs
- WindowsGraphics.cs
- ActionFrame.cs
- BaseProcessProtocolHandler.cs
- GridEntry.cs
- webeventbuffer.cs
- Validator.cs
- PeerPresenceInfo.cs
- _LoggingObject.cs
- GridViewDeletedEventArgs.cs
- ArgumentOutOfRangeException.cs
- CellQuery.cs
- UInt16.cs
- TaskFormBase.cs
- OutputCacheSettingsSection.cs
- DataControlField.cs
- basecomparevalidator.cs
- LookupNode.cs
- RuleSet.cs
- PackUriHelper.cs
- NameObjectCollectionBase.cs
- UInt32Storage.cs
- WsdlBuildProvider.cs