Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- IODescriptionAttribute.cs
- GeometryDrawing.cs
- SocketElement.cs
- ToolStripManager.cs
- SingleStorage.cs
- RadioButton.cs
- EventListener.cs
- TemplatedControlDesigner.cs
- MappingSource.cs
- safePerfProviderHandle.cs
- WindowsBrush.cs
- CompositionCommandSet.cs
- SystemNetworkInterface.cs
- NativeBuffer.cs
- Msec.cs
- TableMethodGenerator.cs
- ObjectStorage.cs
- DataGrid.cs
- CodeVariableDeclarationStatement.cs
- ModulesEntry.cs
- DiscoveryDocumentSerializer.cs
- RowCache.cs
- PropertyConverter.cs
- AutomationElementCollection.cs
- BitmapData.cs
- DBCSCodePageEncoding.cs
- IdentityHolder.cs
- DrawingCollection.cs
- TemplateFactory.cs
- Convert.cs
- _CacheStreams.cs
- GlyphingCache.cs
- SafeRightsManagementHandle.cs
- CalendarDataBindingHandler.cs
- StylusTip.cs
- TaskExtensions.cs
- CompositeDataBoundControl.cs
- UnsafeCollabNativeMethods.cs
- MatcherBuilder.cs
- XmlWrappingReader.cs
- ImmComposition.cs
- SqlBulkCopyColumnMappingCollection.cs
- SudsParser.cs
- ControlsConfig.cs
- RightsManagementLicense.cs
- PeerNameResolver.cs
- XmlSchemaIdentityConstraint.cs
- ParameterModifier.cs
- XmlHierarchyData.cs
- WebEventTraceProvider.cs
- InplaceBitmapMetadataWriter.cs
- FontSource.cs
- VScrollProperties.cs
- SelectedDatesCollection.cs
- EditorPartChrome.cs
- DataGridViewCellFormattingEventArgs.cs
- Pens.cs
- TextCollapsingProperties.cs
- AnonymousIdentificationModule.cs
- ISSmlParser.cs
- HtmlEncodedRawTextWriter.cs
- AuthenticationSection.cs
- ExternalCalls.cs
- DefaultHttpHandler.cs
- HtmlFormParameterReader.cs
- SplitContainer.cs
- PlatformCulture.cs
- Barrier.cs
- FlowLayoutSettings.cs
- StringValidator.cs
- RadioButtonAutomationPeer.cs
- RSACryptoServiceProvider.cs
- SocketAddress.cs
- ServicePoint.cs
- ValueTypeFixupInfo.cs
- RequestCache.cs
- SoapExtensionTypeElementCollection.cs
- QfeChecker.cs
- RectangleF.cs
- InvokeHandlers.cs
- DataBindingExpressionBuilder.cs
- PromptBuilder.cs
- PenLineJoinValidation.cs
- MemberCollection.cs
- OLEDB_Enum.cs
- UpDownEvent.cs
- RtfControls.cs
- WsdlBuildProvider.cs
- AuthenticationModulesSection.cs
- LogReserveAndAppendState.cs
- ObjectView.cs
- SqlUserDefinedTypeAttribute.cs
- LineServicesRun.cs
- ArgumentOutOfRangeException.cs
- ObjRef.cs
- UIElement.cs
- ToolTip.cs
- GC.cs
- TabletDeviceInfo.cs
- TextEditorCharacters.cs