Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Design / CategoryNameCollection.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.Returns the index of a ///in /// the .
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RevocationPoint.cs
- SmiRequestExecutor.cs
- ProfileEventArgs.cs
- SafeCryptoHandles.cs
- XmlEntity.cs
- DataRowCollection.cs
- EncoderReplacementFallback.cs
- IpcChannelHelper.cs
- SetterBase.cs
- ContextQuery.cs
- CombinedGeometry.cs
- TextEmbeddedObject.cs
- ModuleBuilderData.cs
- BamlMapTable.cs
- _PooledStream.cs
- SolidColorBrush.cs
- EventMemberCodeDomSerializer.cs
- StatusBarPanel.cs
- ScrollEvent.cs
- Schema.cs
- StringValueConverter.cs
- XmlSchemaAnnotation.cs
- UserNameSecurityToken.cs
- FileUtil.cs
- ZipIOCentralDirectoryFileHeader.cs
- AccessibleObject.cs
- ExpressionVisitorHelpers.cs
- CollectionChangedEventManager.cs
- Authorization.cs
- BoundingRectTracker.cs
- CapabilitiesSection.cs
- XmlMapping.cs
- Rotation3D.cs
- PolyQuadraticBezierSegment.cs
- HashMembershipCondition.cs
- QuotedStringWriteStateInfo.cs
- Label.cs
- ResourceProperty.cs
- bindurihelper.cs
- IteratorDescriptor.cs
- SmiMetaDataProperty.cs
- Baml2006ReaderContext.cs
- UnionCodeGroup.cs
- PropertyConverter.cs
- DbParameterCollection.cs
- PropertyNames.cs
- CellQuery.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- ComplexTypeEmitter.cs
- DragStartedEventArgs.cs
- DesignerWidgets.cs
- XPathQueryGenerator.cs
- EdgeProfileValidation.cs
- AnimationClock.cs
- BaseCollection.cs
- MailAddressCollection.cs
- InvalidEnumArgumentException.cs
- KeyValueSerializer.cs
- XPathNodePointer.cs
- DynamicResourceExtensionConverter.cs
- RadioButtonAutomationPeer.cs
- SHA1.cs
- DataTableNewRowEvent.cs
- PrimaryKeyTypeConverter.cs
- LinkUtilities.cs
- DocumentGrid.cs
- StorageEntityContainerMapping.cs
- SecureConversationServiceCredential.cs
- PieceDirectory.cs
- FormViewPagerRow.cs
- WSFederationHttpBindingElement.cs
- TextTreeUndo.cs
- DuplicateDetector.cs
- HtmlTableCell.cs
- Parallel.cs
- ActivityExecutionFilter.cs
- BuildResultCache.cs
- ConditionalExpression.cs
- EdmProperty.cs
- DragStartedEventArgs.cs
- TimeBoundedCache.cs
- DateTimeUtil.cs
- DmlSqlGenerator.cs
- PageHandlerFactory.cs
- ImageInfo.cs
- XmlTextReaderImplHelpers.cs
- NavigationPropertyEmitter.cs
- WebDescriptionAttribute.cs
- EntityClientCacheKey.cs
- ListManagerBindingsCollection.cs
- ZipFileInfo.cs
- KeyConstraint.cs
- UpdatePanel.cs
- ProcessHostConfigUtils.cs
- IisTraceListener.cs
- DbMetaDataCollectionNames.cs
- ToolStripTextBox.cs
- XmlChildNodes.cs
- diagnosticsswitches.cs
- _ConnectOverlappedAsyncResult.cs