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
- ApplicationException.cs
- Latin1Encoding.cs
- CookieProtection.cs
- XPathDocument.cs
- BamlLocalizableResourceKey.cs
- propertyentry.cs
- BezierSegment.cs
- DropTarget.cs
- ParamArrayAttribute.cs
- ToolStripItemImageRenderEventArgs.cs
- SqlExpressionNullability.cs
- ProcessManager.cs
- XmlText.cs
- QilStrConcat.cs
- DbConvert.cs
- FrameworkContextData.cs
- VerificationAttribute.cs
- DeviceSpecificChoiceCollection.cs
- StyleHelper.cs
- CaseExpr.cs
- X509Utils.cs
- Models.cs
- CodeSnippetStatement.cs
- DeviceContext.cs
- ControlAdapter.cs
- XomlCompilerResults.cs
- Menu.cs
- WebPartConnectionCollection.cs
- AnimationException.cs
- GridViewRowCollection.cs
- MsmqHostedTransportConfiguration.cs
- TdsParameterSetter.cs
- PtsContext.cs
- NullableLongAverageAggregationOperator.cs
- SQLMembershipProvider.cs
- ICspAsymmetricAlgorithm.cs
- NonDualMessageSecurityOverHttp.cs
- X509SecurityTokenAuthenticator.cs
- DbLambda.cs
- CharAnimationBase.cs
- TypeUsageBuilder.cs
- MsmqPoisonMessageException.cs
- RestClientProxyHandler.cs
- SystemPens.cs
- ViewBase.cs
- LineBreak.cs
- MenuItem.cs
- TransformerConfigurationWizardBase.cs
- OverloadGroupAttribute.cs
- TableChangeProcessor.cs
- HttpApplicationStateWrapper.cs
- OrderedDictionary.cs
- ConnectorEditor.cs
- GridErrorDlg.cs
- EpmContentDeSerializerBase.cs
- ScriptingJsonSerializationSection.cs
- TimeIntervalCollection.cs
- StreamWithDictionary.cs
- WhitespaceSignificantCollectionAttribute.cs
- DotExpr.cs
- MbpInfo.cs
- MappingItemCollection.cs
- Section.cs
- DependencyPropertyHelper.cs
- WebResponse.cs
- GregorianCalendar.cs
- ActivityBindForm.cs
- ParameterBinding.cs
- HttpModuleAction.cs
- ConfigurationSchemaErrors.cs
- TypefaceMap.cs
- ErrorEventArgs.cs
- WindowPattern.cs
- ActivityScheduledRecord.cs
- SkewTransform.cs
- MethodExpr.cs
- FileEnumerator.cs
- ConfigViewGenerator.cs
- UnsafeNativeMethods.cs
- SimpleTableProvider.cs
- PageContentAsyncResult.cs
- CalendarTable.cs
- ExceptionHelpers.cs
- EndpointAddressAugust2004.cs
- ExpressionNormalizer.cs
- SafeArrayTypeMismatchException.cs
- DataGridCellsPresenter.cs
- Triplet.cs
- XmlCustomFormatter.cs
- LocalizationComments.cs
- TargetConverter.cs
- NotCondition.cs
- Missing.cs
- WindowsListViewGroup.cs
- NumericUpDownAcceleration.cs
- ElementNotAvailableException.cs
- StateWorkerRequest.cs
- COM2PropertyBuilderUITypeEditor.cs
- MobileRedirect.cs
- XpsS0ValidatingLoader.cs