Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxItemCollection.cs / 1305376 / 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
- Attributes.cs
- MappableObjectManager.cs
- listitem.cs
- ToolStripItemEventArgs.cs
- DataGridColumnReorderingEventArgs.cs
- PerspectiveCamera.cs
- IdentityReference.cs
- AppDomain.cs
- CategoryState.cs
- XmlSchemaCompilationSettings.cs
- Policy.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- MatrixCamera.cs
- ChildDocumentBlock.cs
- ComponentConverter.cs
- ModelTypeConverter.cs
- ConfigurationLocationCollection.cs
- HttpServerUtilityWrapper.cs
- CodeEntryPointMethod.cs
- ApplicationHost.cs
- ContentPropertyAttribute.cs
- XmlSchemaProviderAttribute.cs
- DataBoundLiteralControl.cs
- LicenseContext.cs
- followingquery.cs
- XslCompiledTransform.cs
- DiscardableAttribute.cs
- SharedDp.cs
- TabPage.cs
- SqlMethodTransformer.cs
- LongCountAggregationOperator.cs
- SectionInformation.cs
- WebControlAdapter.cs
- TypedElement.cs
- ComponentDesigner.cs
- BasicBrowserDialog.cs
- ConstantProjectedSlot.cs
- ExecutionEngineException.cs
- TextOptions.cs
- RadioButton.cs
- DataSet.cs
- JsonEnumDataContract.cs
- Stacktrace.cs
- SchemaTableColumn.cs
- FileLevelControlBuilderAttribute.cs
- ComPlusSynchronizationContext.cs
- SqlUserDefinedTypeAttribute.cs
- MetadataPropertyAttribute.cs
- LinkClickEvent.cs
- NTAccount.cs
- TimerElapsedEvenArgs.cs
- FlowLayoutPanel.cs
- HtmlGenericControl.cs
- TraceHandlerErrorFormatter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- NavigatorOutput.cs
- Module.cs
- ColumnWidthChangingEvent.cs
- CodePropertyReferenceExpression.cs
- SqlTrackingQuery.cs
- CompressedStack.cs
- ScrollChangedEventArgs.cs
- SqlDataReaderSmi.cs
- RoleServiceManager.cs
- SystemIcmpV4Statistics.cs
- BigInt.cs
- ClientCredentialsSecurityTokenManager.cs
- GridViewCancelEditEventArgs.cs
- StrongBox.cs
- TimelineGroup.cs
- Encoder.cs
- UpdatePanelControlTrigger.cs
- ThreadAbortException.cs
- KnownAssemblyEntry.cs
- SqlDataReader.cs
- KeyValueSerializer.cs
- StorageScalarPropertyMapping.cs
- StateBag.cs
- Equal.cs
- _NegoStream.cs
- ValidatorCollection.cs
- _AcceptOverlappedAsyncResult.cs
- WebServiceParameterData.cs
- AffineTransform3D.cs
- Roles.cs
- XPathCompileException.cs
- SmtpReplyReaderFactory.cs
- SystemColors.cs
- IOThreadTimer.cs
- EntityContainerEntitySetDefiningQuery.cs
- InputMethodStateChangeEventArgs.cs
- _IPv6Address.cs
- HttpPostedFile.cs
- ConnectionStringsExpressionBuilder.cs
- control.ime.cs
- ClientUtils.cs
- Constants.cs
- DeclaredTypeValidator.cs
- HtmlInputRadioButton.cs
- XmlILAnnotation.cs