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
- IERequestCache.cs
- DbCommandTree.cs
- TemplatedWizardStep.cs
- BufferedStream.cs
- TextInfo.cs
- WebPartEventArgs.cs
- FormViewPageEventArgs.cs
- Point3DValueSerializer.cs
- SqlPersistenceProviderFactory.cs
- AutomationPatternInfo.cs
- SaveFileDialog.cs
- BooleanProjectedSlot.cs
- LinqDataSourceContextData.cs
- MSAAEventDispatcher.cs
- StateRuntime.cs
- FlowDocumentReaderAutomationPeer.cs
- RemoteWebConfigurationHostServer.cs
- IndexerNameAttribute.cs
- MouseGesture.cs
- BrowserDefinitionCollection.cs
- EntityDataSourceColumn.cs
- OneOfScalarConst.cs
- pingexception.cs
- AQNBuilder.cs
- AccessKeyManager.cs
- SingleTagSectionHandler.cs
- SqlWebEventProvider.cs
- Message.cs
- CustomAssemblyResolver.cs
- WorkflowCommandExtensionItem.cs
- MethodRental.cs
- AttributeConverter.cs
- RawAppCommandInputReport.cs
- XmlAggregates.cs
- ReadWriteControlDesigner.cs
- TemplateInstanceAttribute.cs
- DeferredReference.cs
- HtmlImage.cs
- BooleanKeyFrameCollection.cs
- HtmlSelect.cs
- ChineseLunisolarCalendar.cs
- DataListDesigner.cs
- _SslState.cs
- GroupItem.cs
- Control.cs
- ProvidePropertyAttribute.cs
- EntityDataSourceWrapper.cs
- EncodingTable.cs
- C14NUtil.cs
- IntegerValidator.cs
- X509ThumbprintKeyIdentifierClause.cs
- DataBindingList.cs
- DataServiceCollectionOfT.cs
- SQLByteStorage.cs
- GlyphShapingProperties.cs
- DrawingAttributesDefaultValueFactory.cs
- WebPartAuthorizationEventArgs.cs
- IdentitySection.cs
- Run.cs
- CheckBoxBaseAdapter.cs
- PagesSection.cs
- SourceFileBuildProvider.cs
- PassportPrincipal.cs
- Cursors.cs
- ToolStripStatusLabel.cs
- Thread.cs
- XmlElementList.cs
- TextRange.cs
- CacheEntry.cs
- Monitor.cs
- ChannelDispatcher.cs
- RawAppCommandInputReport.cs
- SoapFault.cs
- CompositeDataBoundControl.cs
- Soap12ProtocolReflector.cs
- XmlValueConverter.cs
- BypassElement.cs
- InternalResources.cs
- PlatformNotSupportedException.cs
- StringExpressionSet.cs
- FontUnitConverter.cs
- ReflectPropertyDescriptor.cs
- InputScopeNameConverter.cs
- PageWrapper.cs
- ProfileSection.cs
- PropertyRecord.cs
- TypeDelegator.cs
- UInt16.cs
- SmtpNegotiateAuthenticationModule.cs
- unsafenativemethodstextservices.cs
- WindowsMenu.cs
- odbcmetadatacollectionnames.cs
- AssemblyCache.cs
- TemplateBuilder.cs
- DeleteStoreRequest.cs
- Part.cs
- ButtonBase.cs
- ToolZone.cs
- XmlILIndex.cs
- WorkingDirectoryEditor.cs