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
- WebControlParameterProxy.cs
- AnnotationHighlightLayer.cs
- TouchesCapturedWithinProperty.cs
- translator.cs
- Int32Rect.cs
- XmlUrlResolver.cs
- ItemCheckedEvent.cs
- ContextQuery.cs
- externdll.cs
- XmlText.cs
- DataSourceXmlClassAttribute.cs
- HScrollBar.cs
- CodeDomSerializerException.cs
- Row.cs
- MenuCommands.cs
- SystemResources.cs
- NamespaceQuery.cs
- AssemblyInfo.cs
- IPHostEntry.cs
- WindowsToolbar.cs
- Vector3D.cs
- DefaultTextStore.cs
- TextDecorationLocationValidation.cs
- CodeMemberEvent.cs
- NetCodeGroup.cs
- DomainConstraint.cs
- CursorConverter.cs
- ServerIdentity.cs
- PipelineModuleStepContainer.cs
- Console.cs
- OuterGlowBitmapEffect.cs
- XhtmlBasicValidationSummaryAdapter.cs
- BaseAppDomainProtocolHandler.cs
- ServiceModelConfigurationSectionCollection.cs
- WCFBuildProvider.cs
- OpCodes.cs
- sortedlist.cs
- KeyInstance.cs
- HotSpot.cs
- AttachmentCollection.cs
- ComponentResourceManager.cs
- SymmetricAlgorithm.cs
- NamespaceQuery.cs
- CAGDesigner.cs
- DataSourceControlBuilder.cs
- TypeToken.cs
- BufferBuilder.cs
- WindowInteropHelper.cs
- RadialGradientBrush.cs
- ComponentEditorForm.cs
- SelectionProcessor.cs
- CollectionExtensions.cs
- Wildcard.cs
- UniqueID.cs
- XhtmlBasicObjectListAdapter.cs
- VirtualDirectoryMapping.cs
- ProxyElement.cs
- ToggleButtonAutomationPeer.cs
- XmlConvert.cs
- GroupBoxRenderer.cs
- RtfFormatStack.cs
- ThreadLocal.cs
- ShaperBuffers.cs
- SqlExpander.cs
- WpfKnownTypeInvoker.cs
- ComponentEditorPage.cs
- EventLevel.cs
- SafeNativeMethodsCLR.cs
- DataGridHeaderBorder.cs
- FileDialogCustomPlaces.cs
- FrameDimension.cs
- NegatedCellConstant.cs
- Int32Collection.cs
- TextEditorContextMenu.cs
- BinaryExpressionHelper.cs
- OdbcConnectionHandle.cs
- Type.cs
- TextRenderer.cs
- NativeWrapper.cs
- CollectionChange.cs
- StrokeCollection.cs
- TreeWalkHelper.cs
- TraceContextRecord.cs
- CommandBindingCollection.cs
- X509RecipientCertificateServiceElement.cs
- Icon.cs
- RectangleGeometry.cs
- ModelTreeManager.cs
- WindowsTokenRoleProvider.cs
- ViewValidator.cs
- FontCacheLogic.cs
- HideDisabledControlAdapter.cs
- BitmapMetadataEnumerator.cs
- RepeatBehavior.cs
- DefaultPropertiesToSend.cs
- DataGridSortingEventArgs.cs
- DataGridViewRowCancelEventArgs.cs
- CompositeControl.cs
- HttpHandlersInstallComponent.cs
- PageAsyncTaskManager.cs