Code:
/ 4.0 / 4.0 / 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 . // 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
- CodeAttributeArgumentCollection.cs
- RayMeshGeometry3DHitTestResult.cs
- Query.cs
- DrawingAttributeSerializer.cs
- SmtpNtlmAuthenticationModule.cs
- InterleavedZipPartStream.cs
- EntitySqlException.cs
- IntPtr.cs
- ValidationError.cs
- WorkflowInstanceRecord.cs
- RtType.cs
- DataRelation.cs
- SessionStateSection.cs
- BindingCollection.cs
- DispatcherHookEventArgs.cs
- ZipIOBlockManager.cs
- ReadOnlyDataSourceView.cs
- Validator.cs
- BuildResultCache.cs
- WsdlBuildProvider.cs
- MessageSecurityOverTcp.cs
- PathGradientBrush.cs
- EdmFunction.cs
- PassportAuthenticationEventArgs.cs
- WebPartExportVerb.cs
- Int32RectConverter.cs
- ToolStrip.cs
- XamlRtfConverter.cs
- TaskResultSetter.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- SelectedDatesCollection.cs
- XmlKeywords.cs
- CorePropertiesFilter.cs
- SelectionProcessor.cs
- EdgeProfileValidation.cs
- UnmanagedMemoryAccessor.cs
- WeakRefEnumerator.cs
- SoapAttributeAttribute.cs
- UrlAuthFailedErrorFormatter.cs
- QilTernary.cs
- WebPartConnection.cs
- PermissionSetTriple.cs
- EntityContainerEmitter.cs
- XhtmlTextWriter.cs
- ToolStripMenuItem.cs
- SafeRightsManagementEnvironmentHandle.cs
- JoinElimination.cs
- FrameworkContentElement.cs
- IntSecurity.cs
- cookie.cs
- ColorEditor.cs
- FixedSOMFixedBlock.cs
- HashJoinQueryOperatorEnumerator.cs
- ClosableStream.cs
- BitmapCodecInfoInternal.cs
- PassportIdentity.cs
- TypeConverterAttribute.cs
- WebPartDisplayMode.cs
- CellTreeNode.cs
- CachedTypeface.cs
- ConditionCollection.cs
- CoTaskMemUnicodeSafeHandle.cs
- LinqDataSource.cs
- CompositeActivityCodeGenerator.cs
- XmlDataSource.cs
- XmlObjectSerializerWriteContextComplex.cs
- Util.cs
- DynamicUpdateCommand.cs
- XmlDigitalSignatureProcessor.cs
- XamlSerializerUtil.cs
- VirtualPathProvider.cs
- webproxy.cs
- TextEmbeddedObject.cs
- LocationSectionRecord.cs
- MobileControlsSection.cs
- AsynchronousChannel.cs
- LabelDesigner.cs
- MetadataArtifactLoaderResource.cs
- ConnectionOrientedTransportBindingElement.cs
- NullableBoolConverter.cs
- WebServiceErrorEvent.cs
- ListViewGroupConverter.cs
- ToolStripGrip.cs
- IconBitmapDecoder.cs
- Claim.cs
- ReaderWriterLockWrapper.cs
- FragmentQuery.cs
- Context.cs
- Mapping.cs
- ActivitiesCollection.cs
- OutputCacheSettings.cs
- XmlSchemaNotation.cs
- XmlFormatReaderGenerator.cs
- KnownColorTable.cs
- HttpStreams.cs
- StatusBarAutomationPeer.cs
- SchemaImporterExtensionElementCollection.cs
- StructuredCompositeActivityDesigner.cs
- TileBrush.cs
- WorkflowOwnerAsyncResult.cs