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
- ContextMarshalException.cs
- SolidColorBrush.cs
- FontNamesConverter.cs
- ActiveXContainer.cs
- HttpConfigurationSystem.cs
- XmlEnumAttribute.cs
- TdsParserSessionPool.cs
- SecurityElement.cs
- ProcessModuleDesigner.cs
- EntityConnectionStringBuilderItem.cs
- OptimizedTemplateContent.cs
- RequestNavigateEventArgs.cs
- TaiwanLunisolarCalendar.cs
- RegexTypeEditor.cs
- BaseTemplateCodeDomTreeGenerator.cs
- UserControl.cs
- CompilationSection.cs
- ProfileService.cs
- DataServicePagingProviderWrapper.cs
- PolicyValidator.cs
- BindingContext.cs
- SqlOuterApplyReducer.cs
- GuidConverter.cs
- IResourceProvider.cs
- GregorianCalendarHelper.cs
- DataSourceSelectArguments.cs
- TableMethodGenerator.cs
- WSDualHttpSecurityElement.cs
- ObjectListTitleAttribute.cs
- GatewayDefinition.cs
- Tile.cs
- MonitorWrapper.cs
- UnsafeNativeMethods.cs
- XmlSchemaComplexContentRestriction.cs
- ThreadStateException.cs
- DetailsViewUpdateEventArgs.cs
- TextEditor.cs
- BitmapEffectCollection.cs
- ClassValidator.cs
- CaseExpr.cs
- SecurityAttributeGenerationHelper.cs
- SqlTriggerContext.cs
- RSAProtectedConfigurationProvider.cs
- ColorPalette.cs
- StrongNamePublicKeyBlob.cs
- Context.cs
- ColumnHeaderConverter.cs
- BinaryObjectReader.cs
- OleDbTransaction.cs
- QilPatternVisitor.cs
- Encoder.cs
- HelpKeywordAttribute.cs
- ProxySimple.cs
- WebPartTransformer.cs
- ClientBuildManagerCallback.cs
- MultiByteCodec.cs
- MemberBinding.cs
- NumericUpDownAcceleration.cs
- FilterQuery.cs
- WebPartZoneCollection.cs
- GeneralTransformGroup.cs
- AddInPipelineAttributes.cs
- SqlReferenceCollection.cs
- OleDbTransaction.cs
- UInt32Storage.cs
- LogReservationCollection.cs
- MemoryFailPoint.cs
- AdapterSwitches.cs
- StrokeSerializer.cs
- ConfigXmlWhitespace.cs
- BaseTemplateParser.cs
- EnumerableWrapperWeakToStrong.cs
- Config.cs
- TextServicesDisplayAttribute.cs
- HtmlTableRow.cs
- DataGridViewCellParsingEventArgs.cs
- ElementFactory.cs
- ScrollItemPattern.cs
- JoinCqlBlock.cs
- Type.cs
- TrustManagerPromptUI.cs
- NotConverter.cs
- ApplicationDirectory.cs
- ProfessionalColors.cs
- CommentEmitter.cs
- SizeLimitedCache.cs
- smtpconnection.cs
- PagesSection.cs
- DataObjectMethodAttribute.cs
- RegexGroupCollection.cs
- Model3DCollection.cs
- AxHost.cs
- HttpPostClientProtocol.cs
- Rect.cs
- ResourceIDHelper.cs
- TypedReference.cs
- ResXResourceSet.cs
- QueryStringParameter.cs
- Camera.cs
- ArraySegment.cs