Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TransformConverter.cs
- InvalidCastException.cs
- PreloadedPackages.cs
- RadioButton.cs
- OleDbStruct.cs
- StringUtil.cs
- MembershipPasswordException.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- Wildcard.cs
- LazyTextWriterCreator.cs
- GridViewRow.cs
- CompilationUnit.cs
- PropertyGridView.cs
- AsyncPostBackTrigger.cs
- SafeBitVector32.cs
- MenuItemBinding.cs
- LinearGradientBrush.cs
- PopOutPanel.cs
- followingsibling.cs
- EntityDataSourceEntityTypeFilterItem.cs
- ServiceProviders.cs
- TextPatternIdentifiers.cs
- DataGridViewCellCancelEventArgs.cs
- SourceSwitch.cs
- RectangleConverter.cs
- AuthorizationContext.cs
- SortDescriptionCollection.cs
- FixUp.cs
- GetParentChain.cs
- DrawListViewSubItemEventArgs.cs
- SqlUtils.cs
- SecurityCriticalDataForSet.cs
- MD5Cng.cs
- ObjectNotFoundException.cs
- HttpDictionary.cs
- ColumnPropertiesGroup.cs
- BindingExpressionBase.cs
- ZipFileInfo.cs
- DelayedRegex.cs
- IsolatedStorageFileStream.cs
- Dictionary.cs
- ComplusEndpointConfigContainer.cs
- CollaborationHelperFunctions.cs
- SBCSCodePageEncoding.cs
- SkewTransform.cs
- TargetInvocationException.cs
- QueryConverter.cs
- Rijndael.cs
- PagedDataSource.cs
- Fonts.cs
- SafeLibraryHandle.cs
- WebPageTraceListener.cs
- ExpressionNode.cs
- Queue.cs
- DataStorage.cs
- RegexMatchCollection.cs
- FolderNameEditor.cs
- TileBrush.cs
- SchemaCollectionCompiler.cs
- DbProviderFactoriesConfigurationHandler.cs
- ConfigXmlDocument.cs
- DataGridViewBindingCompleteEventArgs.cs
- X509Certificate2.cs
- CalendarButton.cs
- ObjectConverter.cs
- TraceShell.cs
- LambdaCompiler.Logical.cs
- ipaddressinformationcollection.cs
- TemplateControlBuildProvider.cs
- MaskedTextBoxDesignerActionList.cs
- HandlerMappingMemo.cs
- NavigationProgressEventArgs.cs
- Win32.cs
- EventQueueState.cs
- ExtendedProperty.cs
- xdrvalidator.cs
- DeclaredTypeValidatorAttribute.cs
- SqlPersistenceProviderFactory.cs
- HandlerBase.cs
- odbcmetadatacollectionnames.cs
- XamlSerializationHelper.cs
- CodeAttributeDeclarationCollection.cs
- UnmanagedMarshal.cs
- ValidatingReaderNodeData.cs
- TemplateBaseAction.cs
- SystemNetworkInterface.cs
- Clipboard.cs
- PropertyDescriptor.cs
- TemplateBindingExpression.cs
- RectAnimation.cs
- EdmEntityTypeAttribute.cs
- DataServiceExpressionVisitor.cs
- GridItemPatternIdentifiers.cs
- XhtmlConformanceSection.cs
- cookiecollection.cs
- SmiEventStream.cs
- DaylightTime.cs
- GenerateScriptTypeAttribute.cs
- ProxySimple.cs
- RegexMatch.cs