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
- SourceCollection.cs
- ThicknessConverter.cs
- PeerCollaborationPermission.cs
- ImageFormatConverter.cs
- DependencyPropertyKey.cs
- ProtectedProviderSettings.cs
- PageWrapper.cs
- ProtocolsConfigurationHandler.cs
- CheckBoxBaseAdapter.cs
- CollectionsUtil.cs
- ByteKeyFrameCollection.cs
- TypeLibraryHelper.cs
- PartitionResolver.cs
- GB18030Encoding.cs
- OdbcHandle.cs
- MenuItem.cs
- ApplicationServicesHostFactory.cs
- EmptyQuery.cs
- HTTPNotFoundHandler.cs
- DbConnectionOptions.cs
- DocumentProperties.cs
- Update.cs
- EdmType.cs
- SimpleBitVector32.cs
- HatchBrush.cs
- XmlEntity.cs
- Padding.cs
- FormViewCommandEventArgs.cs
- Size3DConverter.cs
- XmlRawWriter.cs
- MobileUITypeEditor.cs
- DataSourceControlBuilder.cs
- ProgressBarBrushConverter.cs
- UDPClient.cs
- CodeArgumentReferenceExpression.cs
- ErrorHandlerFaultInfo.cs
- SiteIdentityPermission.cs
- HostingEnvironment.cs
- DynamicControlParameter.cs
- _FixedSizeReader.cs
- PersonalizableTypeEntry.cs
- ListBoxItemAutomationPeer.cs
- SQLByte.cs
- EtwTrace.cs
- Double.cs
- WebPartTracker.cs
- EntityDataSourceContainerNameConverter.cs
- ProfileServiceManager.cs
- AliasExpr.cs
- Maps.cs
- contentDescriptor.cs
- ComplusEndpointConfigContainer.cs
- httpstaticobjectscollection.cs
- clipboard.cs
- Trigger.cs
- TogglePattern.cs
- InvokeSchedule.cs
- AuthenticationServiceManager.cs
- FragmentQueryKB.cs
- CheckPair.cs
- InvalidAsynchronousStateException.cs
- DispatcherTimer.cs
- BackgroundWorker.cs
- HtmlInputFile.cs
- SqlExpressionNullability.cs
- Documentation.cs
- WindowsUpDown.cs
- LineUtil.cs
- TableCellCollection.cs
- CurrentTimeZone.cs
- Image.cs
- ReflectionPermission.cs
- DocumentAutomationPeer.cs
- EntityContainer.cs
- ButtonField.cs
- OleDbFactory.cs
- EventSource.cs
- DependencyPropertyDescriptor.cs
- querybuilder.cs
- CompiledRegexRunnerFactory.cs
- XmlQueryRuntime.cs
- ToolStripMenuItemDesigner.cs
- DtrList.cs
- FontResourceCache.cs
- TemplateControlBuildProvider.cs
- LongValidatorAttribute.cs
- PathFigureCollection.cs
- BidOverLoads.cs
- DbConnectionPoolIdentity.cs
- CalendarDay.cs
- Bits.cs
- ComponentEditorPage.cs
- GeometryGroup.cs
- ColumnMapVisitor.cs
- ColorTranslator.cs
- ServiceBusyException.cs
- DataGridViewCell.cs
- EntityWrapperFactory.cs
- ProcessModelSection.cs
- ValidatedControlConverter.cs