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
- PingReply.cs
- PasswordRecoveryAutoFormat.cs
- SystemUdpStatistics.cs
- ProtocolsConfigurationEntry.cs
- EndpointAddressMessageFilter.cs
- TextEditorSelection.cs
- LocatorPartList.cs
- PackageRelationshipCollection.cs
- processwaithandle.cs
- DefaultWorkflowLoaderService.cs
- log.cs
- CreateUserErrorEventArgs.cs
- CodePageUtils.cs
- ObjectHelper.cs
- MsmqBindingElementBase.cs
- ListCollectionView.cs
- CompileLiteralTextParser.cs
- Propagator.Evaluator.cs
- XmlRawWriter.cs
- SystemWebSectionGroup.cs
- DynamicPropertyHolder.cs
- QueryOperatorEnumerator.cs
- ConnectionProviderAttribute.cs
- BaseServiceProvider.cs
- MembershipPasswordException.cs
- Cloud.cs
- DesignerActionUIService.cs
- ConversionHelper.cs
- JavaScriptSerializer.cs
- MenuScrollingVisibilityConverter.cs
- DbInsertCommandTree.cs
- SynchronousSendBindingElement.cs
- HttpModule.cs
- DetailsViewRowCollection.cs
- BitmapDownload.cs
- EmbeddedMailObjectsCollection.cs
- WebControlsSection.cs
- PatternMatcher.cs
- DbCommandDefinition.cs
- LinqExpressionNormalizer.cs
- IdleTimeoutMonitor.cs
- KeyboardEventArgs.cs
- SystemColorTracker.cs
- EventLog.cs
- DrawingImage.cs
- StructuredTypeEmitter.cs
- SurrogateEncoder.cs
- ComponentResourceKeyConverter.cs
- MediaPlayerState.cs
- SqlNotificationRequest.cs
- Math.cs
- DataBoundControl.cs
- Debugger.cs
- TextPenaltyModule.cs
- FileNotFoundException.cs
- ActivationService.cs
- PreloadHost.cs
- ScriptResourceHandler.cs
- HttpWrapper.cs
- unsafenativemethodsother.cs
- StateChangeEvent.cs
- ConfigurationManagerHelperFactory.cs
- SignatureGenerator.cs
- MemberAccessException.cs
- TypedDataSetSchemaImporterExtension.cs
- DocumentPageTextView.cs
- PrinterResolution.cs
- BridgeDataRecord.cs
- WSTransactionSection.cs
- Clause.cs
- FixedPosition.cs
- RemoteWebConfigurationHostStream.cs
- DefaultEvaluationContext.cs
- Merger.cs
- TraceShell.cs
- SelectionWordBreaker.cs
- XmlIlVisitor.cs
- AppDomainFactory.cs
- CapabilitiesState.cs
- PropertyMap.cs
- ToolStripPanelDesigner.cs
- LinkedResource.cs
- SoapRpcMethodAttribute.cs
- ObjectDataSource.cs
- mediapermission.cs
- CompositeFontParser.cs
- BrowserCapabilitiesCompiler.cs
- TimerElapsedEvenArgs.cs
- WebBrowserUriTypeConverter.cs
- RuleInfoComparer.cs
- TableRowsCollectionEditor.cs
- TextRangeEditTables.cs
- ButtonChrome.cs
- TypeContext.cs
- SvcMapFileSerializer.cs
- CookielessHelper.cs
- TdsParserHelperClasses.cs
- CharStorage.cs
- DataBindingExpressionBuilder.cs
- ProtocolElementCollection.cs