Code:
/ DotNET / DotNET / 8.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
- BuildProvider.cs
- HtmlTextBoxAdapter.cs
- DisableDpiAwarenessAttribute.cs
- ThrowHelper.cs
- LayoutEditorPart.cs
- EmptyEnumerable.cs
- DbConnectionStringBuilder.cs
- DefaultHttpHandler.cs
- DictionaryKeyPropertyAttribute.cs
- TimeSpanValidatorAttribute.cs
- _BaseOverlappedAsyncResult.cs
- TabPanel.cs
- MessageDesigner.cs
- ModelFactory.cs
- ClientOperation.cs
- DataRowCollection.cs
- ConfigurationManagerInternalFactory.cs
- FlowDocumentFormatter.cs
- WorkflowItemsPresenter.cs
- FunctionDescription.cs
- ScriptControlManager.cs
- AppSettingsSection.cs
- EDesignUtil.cs
- AnimatedTypeHelpers.cs
- Oci.cs
- CharConverter.cs
- UserNameSecurityToken.cs
- ListViewItem.cs
- DbProviderFactory.cs
- GridViewColumnCollectionChangedEventArgs.cs
- DbDataAdapter.cs
- PreDigestedSignedInfo.cs
- StringFunctions.cs
- HTMLTagNameToTypeMapper.cs
- versioninfo.cs
- MobileCategoryAttribute.cs
- ProtocolsConfiguration.cs
- ClonableStack.cs
- DesignSurfaceServiceContainer.cs
- SessionStateUtil.cs
- EntityDataSourceWrapperCollection.cs
- DtrList.cs
- GridViewColumn.cs
- BaseDataBoundControl.cs
- RuleValidation.cs
- UIElement3D.cs
- KeysConverter.cs
- OptimalTextSource.cs
- WebPartUtil.cs
- WebServicesInteroperability.cs
- WebAdminConfigurationHelper.cs
- IntAverageAggregationOperator.cs
- IisTraceWebEventProvider.cs
- CacheEntry.cs
- FocusChangedEventArgs.cs
- CompilationLock.cs
- FocusChangedEventArgs.cs
- Stack.cs
- MatrixTransform.cs
- SkinBuilder.cs
- ParseElement.cs
- Command.cs
- ShaderEffect.cs
- FileRecordSequence.cs
- ExpressionBuilder.cs
- _Rfc2616CacheValidators.cs
- StorageAssociationSetMapping.cs
- StrongBox.cs
- DependencyPropertyAttribute.cs
- XmlTypeAttribute.cs
- HttpServerVarsCollection.cs
- WriterOutput.cs
- OleDbSchemaGuid.cs
- EntityDataSourceWrapper.cs
- TypeConverterValueSerializer.cs
- TagNameToTypeMapper.cs
- IisHelper.cs
- HtmlEmptyTagControlBuilder.cs
- BitmapFrameEncode.cs
- ContextMarshalException.cs
- GridView.cs
- XmlSchemaSequence.cs
- MexBindingBindingCollectionElement.cs
- login.cs
- Configuration.cs
- SecurityUniqueId.cs
- ConsoleCancelEventArgs.cs
- XmlLanguage.cs
- ImageIndexConverter.cs
- SecurityHeaderLayout.cs
- GridViewDeletedEventArgs.cs
- OdbcException.cs
- Clock.cs
- ObservableCollectionDefaultValueFactory.cs
- CanonicalFontFamilyReference.cs
- MissingMethodException.cs
- ValidatorUtils.cs
- ReaderWriterLock.cs
- RpcAsyncResult.cs
- WorkerRequest.cs