Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DefaultObjectMappingItemCollection.cs
- WebAdminConfigurationHelper.cs
- StrokeCollection2.cs
- WebPartUtil.cs
- SessionSwitchEventArgs.cs
- PathGradientBrush.cs
- StringArrayConverter.cs
- ReflectionServiceProvider.cs
- NullableConverter.cs
- ValueQuery.cs
- WrappedReader.cs
- VisualTarget.cs
- DirtyTextRange.cs
- NegotiateStream.cs
- UpdatePanelControlTrigger.cs
- StandardMenuStripVerb.cs
- SignatureResourceHelper.cs
- TypeConverter.cs
- FontNamesConverter.cs
- MaskDescriptors.cs
- InfoCardProofToken.cs
- SurrogateChar.cs
- BufferedStream.cs
- AlignmentXValidation.cs
- XmlCompatibilityReader.cs
- ListView.cs
- oledbmetadatacollectionnames.cs
- WpfXamlLoader.cs
- CurrencyManager.cs
- DataTableReaderListener.cs
- ImpersonationContext.cs
- RadioButtonRenderer.cs
- TextSelectionHelper.cs
- MgmtConfigurationRecord.cs
- FamilyMap.cs
- InArgumentConverter.cs
- isolationinterop.cs
- EastAsianLunisolarCalendar.cs
- RemoteCryptoRsaServiceProvider.cs
- ReadWriteSpinLock.cs
- InvalidWorkflowException.cs
- XmlDataContract.cs
- ErrorStyle.cs
- DataGridViewComboBoxColumn.cs
- RealProxy.cs
- Executor.cs
- ItemChangedEventArgs.cs
- DeleteCardRequest.cs
- TargetConverter.cs
- HttpModulesSection.cs
- RequestTimeoutManager.cs
- CaretElement.cs
- TextComposition.cs
- GridViewHeaderRowPresenter.cs
- DragEventArgs.cs
- XmlDataSource.cs
- COM2Properties.cs
- XamlClipboardData.cs
- WebContext.cs
- ConfigurationManager.cs
- SimpleParser.cs
- backend.cs
- Models.cs
- HtmlFormParameterWriter.cs
- MailAddressCollection.cs
- SeverityFilter.cs
- XmlValidatingReaderImpl.cs
- SystemIPGlobalStatistics.cs
- CornerRadius.cs
- PathFigureCollection.cs
- WsdlBuildProvider.cs
- CheckBoxList.cs
- RecipientInfo.cs
- ServiceObjectContainer.cs
- DynamicEndpointElement.cs
- DiscoveryClientChannelFactory.cs
- Preprocessor.cs
- SelectingProviderEventArgs.cs
- PopupRoot.cs
- AttributeProviderAttribute.cs
- SourceFilter.cs
- DesignerSerializationVisibilityAttribute.cs
- FrugalMap.cs
- SqlBooleanizer.cs
- DateBoldEvent.cs
- OLEDB_Enum.cs
- DataObject.cs
- TypeSemantics.cs
- PointCollection.cs
- GenericIdentity.cs
- SqlInternalConnection.cs
- InheritanceContextHelper.cs
- EncoderNLS.cs
- SettingsPropertyCollection.cs
- InternalSafeNativeMethods.cs
- SmiRecordBuffer.cs
- StrongNameMembershipCondition.cs
- PrimarySelectionAdorner.cs
- RewritingProcessor.cs
- Int32Collection.cs