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
- TextServicesCompartmentContext.cs
- KeySplineConverter.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ObjectListTitleAttribute.cs
- TempFiles.cs
- MouseGesture.cs
- FontWeight.cs
- messageonlyhwndwrapper.cs
- ReachDocumentSequenceSerializerAsync.cs
- MediaTimeline.cs
- OlePropertyStructs.cs
- EncoderFallback.cs
- ChangeInterceptorAttribute.cs
- PasswordDeriveBytes.cs
- TraceHwndHost.cs
- FixUpCollection.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SqlRewriteScalarSubqueries.cs
- XpsInterleavingPolicy.cs
- SecurityProtocolCorrelationState.cs
- MSAANativeProvider.cs
- NamespaceDisplay.xaml.cs
- HtmlInputHidden.cs
- OperationAbortedException.cs
- AssertSection.cs
- DataGridViewRowsAddedEventArgs.cs
- TraceRecords.cs
- BrowserCapabilitiesCodeGenerator.cs
- DeclarativeCatalogPart.cs
- Rule.cs
- PackageFilter.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- FormatPage.cs
- DiscriminatorMap.cs
- HtmlTableCell.cs
- FontWeights.cs
- Matrix3DConverter.cs
- OracleDataReader.cs
- EllipseGeometry.cs
- Decoder.cs
- panel.cs
- AppSettingsExpressionBuilder.cs
- PerformanceCounterManager.cs
- TreeNodeEventArgs.cs
- EdmFunction.cs
- Int32CAMarshaler.cs
- FixUp.cs
- DrawingBrush.cs
- PanelStyle.cs
- WindowsClaimSet.cs
- BinaryExpression.cs
- DtdParser.cs
- LongTypeConverter.cs
- HorizontalAlignConverter.cs
- WebDescriptionAttribute.cs
- SoapTypeAttribute.cs
- RadioButtonPopupAdapter.cs
- ToolStripControlHost.cs
- DBConnection.cs
- UnicodeEncoding.cs
- CultureMapper.cs
- BindingExpressionUncommonField.cs
- WindowsNonControl.cs
- SiteMapDataSource.cs
- InvalidProgramException.cs
- PolicyException.cs
- ForwardPositionQuery.cs
- ObjectHandle.cs
- BamlLocalizableResourceKey.cs
- TimelineClockCollection.cs
- HtmlTitle.cs
- DisposableCollectionWrapper.cs
- XmlAggregates.cs
- NullableBoolConverter.cs
- ReverseInheritProperty.cs
- UserUseLicenseDictionaryLoader.cs
- QilLiteral.cs
- Transaction.cs
- RecognizerStateChangedEventArgs.cs
- ValidationSummaryDesigner.cs
- OdbcDataAdapter.cs
- NamespaceInfo.cs
- CollectionViewGroupRoot.cs
- DbConnectionPoolGroup.cs
- FrameworkElementAutomationPeer.cs
- EventProviderWriter.cs
- SqlUserDefinedAggregateAttribute.cs
- Literal.cs
- DefaultEventAttribute.cs
- ValidateNames.cs
- EntityFrameworkVersions.cs
- TreeIterators.cs
- ListViewHitTestInfo.cs
- SchemaNotation.cs
- ContextStack.cs
- DataGridViewRowsRemovedEventArgs.cs
- XmlReturnWriter.cs
- SynchronizedDispatch.cs
- KoreanLunisolarCalendar.cs
- TypeGeneratedEventArgs.cs