Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- StylusPointProperties.cs
- HierarchicalDataBoundControl.cs
- PropertyIDSet.cs
- ExecutedRoutedEventArgs.cs
- WebPermission.cs
- EntityViewGenerationAttribute.cs
- ObjectViewListener.cs
- OleDbPropertySetGuid.cs
- ArrangedElementCollection.cs
- SerializeAbsoluteContext.cs
- Symbol.cs
- XmlAtomErrorReader.cs
- HttpCacheVary.cs
- IRCollection.cs
- RuntimeEnvironment.cs
- FieldNameLookup.cs
- ParameterBuilder.cs
- GridPattern.cs
- XmlAttributeProperties.cs
- ListenerElementsCollection.cs
- WorkerProcess.cs
- LineGeometry.cs
- TimeEnumHelper.cs
- FontWeight.cs
- InternalConfirm.cs
- ActivationArguments.cs
- Tile.cs
- SqlConnectionPoolProviderInfo.cs
- TrackingMemoryStream.cs
- ImmComposition.cs
- Config.cs
- XmlSerializer.cs
- TypeValidationEventArgs.cs
- Model3DCollection.cs
- TimelineClockCollection.cs
- IResourceProvider.cs
- FileFormatException.cs
- DPTypeDescriptorContext.cs
- COM2ColorConverter.cs
- ScaleTransform.cs
- NamespaceList.cs
- RoleGroup.cs
- _SpnDictionary.cs
- GridViewCommandEventArgs.cs
- ErrorWrapper.cs
- TokenFactoryBase.cs
- TextElementCollectionHelper.cs
- PropertyInformationCollection.cs
- ServiceDesigner.cs
- AuthStoreRoleProvider.cs
- TreeViewBindingsEditorForm.cs
- HtmlContainerControl.cs
- ToolStripProgressBar.cs
- VersionedStreamOwner.cs
- BaseCodePageEncoding.cs
- MeshGeometry3D.cs
- _NegoState.cs
- WindowsListViewItemCheckBox.cs
- RemotingSurrogateSelector.cs
- ColorTransform.cs
- Calendar.cs
- SplineKeyFrames.cs
- WebPartVerb.cs
- KoreanCalendar.cs
- InputMethodStateChangeEventArgs.cs
- RemoteArgument.cs
- x509store.cs
- ListParagraph.cs
- OciEnlistContext.cs
- ComponentChangingEvent.cs
- TokenBasedSetEnumerator.cs
- IncrementalHitTester.cs
- ParseElement.cs
- ScopelessEnumAttribute.cs
- EventLogEntryCollection.cs
- SqlBulkCopyColumnMapping.cs
- WorkerRequest.cs
- RequestQueryProcessor.cs
- StyleHelper.cs
- EmptyElement.cs
- XmlDownloadManager.cs
- WrappedOptions.cs
- ContentFilePart.cs
- DynamicMethod.cs
- XmlSchemaComplexContentExtension.cs
- LiteralText.cs
- SubpageParagraph.cs
- WebPart.cs
- AudioStateChangedEventArgs.cs
- PerformanceCounterManager.cs
- MetadataCollection.cs
- RectAnimationBase.cs
- DesignTimeType.cs
- AssemblyUtil.cs
- Base64Stream.cs
- EventLogPermissionEntry.cs
- CatalogPartChrome.cs
- CompatibleIComparer.cs
- DataSourceControl.cs
- DesignerActionListCollection.cs