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 / 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. // ------------------------------------------------------------------------------ //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 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
- CodeIdentifiers.cs
- RouteValueDictionary.cs
- Rotation3DAnimation.cs
- ManagementEventArgs.cs
- RoleManagerModule.cs
- ContextMenuService.cs
- CapiHashAlgorithm.cs
- ToolStripMenuItem.cs
- ChangesetResponse.cs
- DtrList.cs
- AssemblyNameProxy.cs
- DataError.cs
- ModelTreeManager.cs
- CopyOfAction.cs
- ProfessionalColorTable.cs
- RegexWriter.cs
- ViewStateChangedEventArgs.cs
- _NTAuthentication.cs
- SystemIPv4InterfaceProperties.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- EntityDataSourceSelectedEventArgs.cs
- DecoratedNameAttribute.cs
- X509Extension.cs
- Int16AnimationBase.cs
- LogWriteRestartAreaAsyncResult.cs
- FilterQueryOptionExpression.cs
- DownloadProgressEventArgs.cs
- WebPartUtil.cs
- JournalNavigationScope.cs
- ObjectDataSourceMethodEventArgs.cs
- SqlUtils.cs
- ServiceModelEnumValidatorAttribute.cs
- GifBitmapEncoder.cs
- StylusPointPropertyUnit.cs
- ViewService.cs
- PrimaryKeyTypeConverter.cs
- PaintValueEventArgs.cs
- CellPartitioner.cs
- ContextMenu.cs
- ModuleBuilderData.cs
- XmlFileEditor.cs
- RemotingSurrogateSelector.cs
- CallContext.cs
- PostBackOptions.cs
- OrderedDictionary.cs
- HtmlHead.cs
- Sql8ConformanceChecker.cs
- ping.cs
- DataRelation.cs
- MultiPropertyDescriptorGridEntry.cs
- ListSourceHelper.cs
- GridProviderWrapper.cs
- SettingsProperty.cs
- BitmapEffectvisualstate.cs
- CqlGenerator.cs
- HttpCapabilitiesBase.cs
- TablePattern.cs
- ProfileModule.cs
- SqlRowUpdatingEvent.cs
- DataServiceQueryException.cs
- FileUtil.cs
- ResourceSetExpression.cs
- QilGenerator.cs
- NamedPermissionSet.cs
- DataRowView.cs
- PageVisual.cs
- _ChunkParse.cs
- PrePrepareMethodAttribute.cs
- EntityDataSourceContextDisposingEventArgs.cs
- XamlPathDataSerializer.cs
- TraceData.cs
- SoapParser.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- XamlStyleSerializer.cs
- BaseResourcesBuildProvider.cs
- MetaTable.cs
- XmlNamespaceMapping.cs
- SubclassTypeValidatorAttribute.cs
- TemplateControlParser.cs
- HitTestFilterBehavior.cs
- StaticContext.cs
- DPTypeDescriptorContext.cs
- Cursor.cs
- HMACSHA512.cs
- WrapPanel.cs
- Debug.cs
- TrackingProfileCache.cs
- SamlDelegatingWriter.cs
- TextBox.cs
- ServiceNameCollection.cs
- DiagnosticEventProvider.cs
- ScrollBarRenderer.cs
- UserCancellationException.cs
- TypedTableBase.cs
- XmlILTrace.cs
- BitmapEffectrendercontext.cs
- SystemSounds.cs
- DbXmlEnabledProviderManifest.cs
- WebPartUserCapability.cs
- XamlReader.cs