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
- PerfCounterSection.cs
- WebPartAuthorizationEventArgs.cs
- MailMessage.cs
- EditingMode.cs
- HMAC.cs
- OracleConnectionString.cs
- Models.cs
- RangeValidator.cs
- OperationCanceledException.cs
- HMACSHA1.cs
- XmlNamespaceMapping.cs
- RuleEngine.cs
- LocationUpdates.cs
- ToolConsole.cs
- Geometry3D.cs
- StatusBarItemAutomationPeer.cs
- TextBoxBase.cs
- CheckBox.cs
- BuildProviderAppliesToAttribute.cs
- CodePageUtils.cs
- StylusOverProperty.cs
- FileFormatException.cs
- XmlSortKeyAccumulator.cs
- IdleTimeoutMonitor.cs
- SimpleWorkerRequest.cs
- SafeRegistryKey.cs
- PrimitiveSchema.cs
- VariantWrapper.cs
- ClientUtils.cs
- TextElement.cs
- StoreContentChangedEventArgs.cs
- InfoCardMetadataExchangeClient.cs
- SerialReceived.cs
- CodeTypeMember.cs
- ObjectViewListener.cs
- SelectionPatternIdentifiers.cs
- FtpWebResponse.cs
- XPathSingletonIterator.cs
- MultilineStringConverter.cs
- ControllableStoryboardAction.cs
- MetaData.cs
- QueryableDataSourceEditData.cs
- NGCPageContentCollectionSerializerAsync.cs
- SystemSounds.cs
- BamlMapTable.cs
- GPPOINTF.cs
- DoubleKeyFrameCollection.cs
- SetIterators.cs
- WebServiceHandler.cs
- GeneralTransform3DTo2D.cs
- ScriptControl.cs
- ConstructorNeedsTagAttribute.cs
- HtmlLink.cs
- FlowDocument.cs
- CultureInfoConverter.cs
- ReversePositionQuery.cs
- SortDescriptionCollection.cs
- GridViewColumnHeader.cs
- DynamicMethod.cs
- BitmapEncoder.cs
- LoginUtil.cs
- SynchronizingStream.cs
- InlineObject.cs
- ColumnReorderedEventArgs.cs
- ClearCollection.cs
- StylusEditingBehavior.cs
- ItemCheckEvent.cs
- CorruptStoreException.cs
- SqlDependencyUtils.cs
- WsatConfiguration.cs
- WinEventHandler.cs
- StateBag.cs
- BaseResourcesBuildProvider.cs
- XmlDeclaration.cs
- CellTreeNodeVisitors.cs
- ParseHttpDate.cs
- EncodingInfo.cs
- PresentationTraceSources.cs
- ComponentResourceKey.cs
- XmlSerializableServices.cs
- SrgsElementFactory.cs
- PolyQuadraticBezierSegment.cs
- TripleDESCryptoServiceProvider.cs
- WebBrowserHelper.cs
- LineSegment.cs
- ComboBox.cs
- StringAnimationUsingKeyFrames.cs
- LeftCellWrapper.cs
- HostedNamedPipeTransportManager.cs
- ReadWriteObjectLock.cs
- SafeRightsManagementEnvironmentHandle.cs
- IIS7WorkerRequest.cs
- WeakReferenceList.cs
- Line.cs
- MemberInfoSerializationHolder.cs
- List.cs
- Range.cs
- ProcessInputEventArgs.cs
- PerformanceCountersElement.cs
- PluralizationService.cs