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
- ClientConvert.cs
- ConsoleKeyInfo.cs
- PointLight.cs
- CustomAttributeSerializer.cs
- EditorBrowsableAttribute.cs
- ProtocolsConfigurationHandler.cs
- XPathException.cs
- PeerName.cs
- RuntimeConfig.cs
- CodeDomConfigurationHandler.cs
- NullableLongMinMaxAggregationOperator.cs
- SettingsSection.cs
- PEFileEvidenceFactory.cs
- BitStream.cs
- HGlobalSafeHandle.cs
- SafeRegistryHandle.cs
- Label.cs
- PersistChildrenAttribute.cs
- StrongName.cs
- WebEncodingValidatorAttribute.cs
- DataIdProcessor.cs
- XComponentModel.cs
- HttpHandlerAction.cs
- RawStylusSystemGestureInputReport.cs
- AddInControllerImpl.cs
- Geometry.cs
- TextUtf8RawTextWriter.cs
- UmAlQuraCalendar.cs
- RequestCachePolicy.cs
- DrawingAttributesDefaultValueFactory.cs
- UnsafeNativeMethods.cs
- SR.Designer.cs
- TripleDESCryptoServiceProvider.cs
- WhereaboutsReader.cs
- PropertyStore.cs
- WCFServiceClientProxyGenerator.cs
- DependencySource.cs
- SequenceNumber.cs
- TextBoxLine.cs
- AndAlso.cs
- SocketAddress.cs
- AdRotator.cs
- ServicePoint.cs
- ColorKeyFrameCollection.cs
- _DisconnectOverlappedAsyncResult.cs
- UIElement.cs
- SqlExpressionNullability.cs
- CurrentChangingEventArgs.cs
- OpenTypeMethods.cs
- VirtualizedContainerService.cs
- FunctionUpdateCommand.cs
- DataMisalignedException.cs
- IisTraceWebEventProvider.cs
- FindCriteriaElement.cs
- XmlArrayAttribute.cs
- odbcmetadatafactory.cs
- IdentityHolder.cs
- BinHexEncoding.cs
- EntityModelBuildProvider.cs
- SystemNetworkInterface.cs
- BinarySerializer.cs
- DependentList.cs
- StringComparer.cs
- IncrementalCompileAnalyzer.cs
- SID.cs
- ControlPropertyNameConverter.cs
- ClientRuntimeConfig.cs
- Binding.cs
- CfgSemanticTag.cs
- UnsafeNativeMethodsCLR.cs
- LogLogRecordHeader.cs
- EventEntry.cs
- RawStylusInputReport.cs
- InstanceKeyNotReadyException.cs
- ImagingCache.cs
- diagnosticsswitches.cs
- ReflectEventDescriptor.cs
- documentsequencetextcontainer.cs
- CommonRemoteMemoryBlock.cs
- DataObjectSettingDataEventArgs.cs
- CodeTypeReferenceCollection.cs
- ZipIOExtraFieldZip64Element.cs
- ConfigurationSectionHelper.cs
- ImageCodecInfoPrivate.cs
- ValidateNames.cs
- HttpModulesSection.cs
- ToolStripLabel.cs
- TypeReference.cs
- ActivityCodeDomSerializationManager.cs
- PartialClassGenerationTaskInternal.cs
- PartitionedStreamMerger.cs
- BulletedList.cs
- FormClosingEvent.cs
- WmfPlaceableFileHeader.cs
- Privilege.cs
- RefreshPropertiesAttribute.cs
- ListChangedEventArgs.cs
- TextureBrush.cs
- HwndSource.cs
- WindowCollection.cs