Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Design / CategoryNameCollection.cs / 1305376 / CategoryNameCollection.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 CategoryNameCollection : ReadOnlyCollectionBase { ////// A collection that stores ///objects. /// /// /// public CategoryNameCollection(CategoryNameCollection value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// /// public CategoryNameCollection(String[] value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// /// public string this[int index] { get { return ((string)(InnerList[index])); } } ///Represents the entry at the specified index of the ///. /// /// public bool Contains(string value) { return InnerList.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// /// public void CopyTo(String[] array, int index) { InnerList.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// /// public int IndexOf(string 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
- EnumerableCollectionView.cs
- recordstatefactory.cs
- TrustManagerPromptUI.cs
- XmlWriter.cs
- EntityDataSourceContainerNameConverter.cs
- Monitor.cs
- TargetControlTypeCache.cs
- NumericUpDown.cs
- Scanner.cs
- CatalogPart.cs
- MutableAssemblyCacheEntry.cs
- FileCodeGroup.cs
- ManagedFilter.cs
- XPathArrayIterator.cs
- HiddenFieldPageStatePersister.cs
- OracleMonthSpan.cs
- SiteMapNodeItem.cs
- X509Utils.cs
- CurrentTimeZone.cs
- DaylightTime.cs
- WebException.cs
- TempFiles.cs
- DataGridRowHeader.cs
- OdbcParameterCollection.cs
- CodeNamespaceImportCollection.cs
- Claim.cs
- ExpressionBuilderContext.cs
- RoutedPropertyChangedEventArgs.cs
- AxHostDesigner.cs
- PolicyDesigner.cs
- DesignerImageAdapter.cs
- Constants.cs
- IndexedString.cs
- AutoResizedEvent.cs
- XmlMemberMapping.cs
- PropertyInformation.cs
- SqlUtils.cs
- ToolTipAutomationPeer.cs
- HttpRequest.cs
- TranslateTransform3D.cs
- HTMLTagNameToTypeMapper.cs
- StylusDownEventArgs.cs
- TimerEventSubscriptionCollection.cs
- CodeBlockBuilder.cs
- InputScopeNameConverter.cs
- ParameterCollection.cs
- ExpressionPrefixAttribute.cs
- ObjectStateEntry.cs
- EventMap.cs
- FlowNode.cs
- NonNullItemCollection.cs
- COM2ExtendedUITypeEditor.cs
- ConfigurationPropertyAttribute.cs
- returneventsaver.cs
- AsyncOperation.cs
- ExpressionEditor.cs
- KeyGestureValueSerializer.cs
- BooleanAnimationUsingKeyFrames.cs
- Vector3DKeyFrameCollection.cs
- SymbolPair.cs
- ProcessManager.cs
- HostProtectionException.cs
- RemotingException.cs
- DataControlFieldCollection.cs
- TableColumn.cs
- ManipulationLogic.cs
- MenuBindingsEditor.cs
- SrgsRule.cs
- xmlglyphRunInfo.cs
- AlignmentYValidation.cs
- ControlHelper.cs
- TokenizerHelper.cs
- XmlWriterSettings.cs
- TTSVoice.cs
- HttpRequestMessageProperty.cs
- SafeNativeMethods.cs
- AutomationFocusChangedEventArgs.cs
- SrgsSemanticInterpretationTag.cs
- KeyConstraint.cs
- TraceSwitch.cs
- RotateTransform3D.cs
- IxmlLineInfo.cs
- SettingsContext.cs
- DataSourceComponent.cs
- PeerResolverBindingElement.cs
- ByteRangeDownloader.cs
- WsatAdminException.cs
- DataGridViewRowConverter.cs
- CustomAttributeSerializer.cs
- InputMethod.cs
- SqlTrackingService.cs
- TextServicesCompartmentEventSink.cs
- DataControlExtensions.cs
- ChildrenQuery.cs
- Win32.cs
- Themes.cs
- _TransmitFileOverlappedAsyncResult.cs
- ListSurrogate.cs
- BasicAsyncResult.cs
- CharacterString.cs