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
- PerformanceCounterPermissionEntryCollection.cs
- HttpListenerResponse.cs
- SelectionItemPatternIdentifiers.cs
- ListBase.cs
- Attachment.cs
- Bidi.cs
- TreePrinter.cs
- Header.cs
- AdapterDictionary.cs
- NonVisualControlAttribute.cs
- OletxVolatileEnlistment.cs
- ComAwareEventInfo.cs
- ListView.cs
- DataGridItemEventArgs.cs
- Operator.cs
- AlgoModule.cs
- oledbmetadatacolumnnames.cs
- Expression.cs
- ConfigXmlSignificantWhitespace.cs
- BitArray.cs
- ContextMenu.cs
- App.cs
- EncryptedReference.cs
- ForeignConstraint.cs
- X509CertificateCollection.cs
- EventEntry.cs
- XamlDesignerSerializationManager.cs
- MenuItemStyleCollection.cs
- ProfessionalColors.cs
- webbrowsersite.cs
- OverrideMode.cs
- ObjectDataSourceStatusEventArgs.cs
- Schema.cs
- PrtTicket_Public_Simple.cs
- NativeMethods.cs
- MarshalByValueComponent.cs
- LOSFormatter.cs
- EventRouteFactory.cs
- ScrollItemProviderWrapper.cs
- StructuralComparisons.cs
- CodeEventReferenceExpression.cs
- XpsS0ValidatingLoader.cs
- WebPartEditorApplyVerb.cs
- RawStylusActions.cs
- Codec.cs
- EventKeyword.cs
- RemotingAttributes.cs
- KeyedCollection.cs
- ToolStripDropDownButton.cs
- ThrowOnMultipleAssignment.cs
- Activator.cs
- EntityViewContainer.cs
- MenuBindingsEditorForm.cs
- BindingExpressionUncommonField.cs
- Converter.cs
- FileInfo.cs
- DiagnosticSection.cs
- FillBehavior.cs
- InternalDuplexBindingElement.cs
- AutoFocusStyle.xaml.cs
- ToolStripComboBox.cs
- BaseInfoTable.cs
- ZipIOLocalFileBlock.cs
- CheckBoxFlatAdapter.cs
- TypedAsyncResult.cs
- DynamicValueConverter.cs
- Codec.cs
- WebPartUserCapability.cs
- Transform.cs
- WSFederationHttpSecurityMode.cs
- FormsIdentity.cs
- AsymmetricKeyExchangeFormatter.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ImageMetadata.cs
- SpecularMaterial.cs
- Monitor.cs
- GenericWebPart.cs
- Int32Storage.cs
- TransformerTypeCollection.cs
- WebPartCatalogCloseVerb.cs
- IWorkflowDebuggerService.cs
- __Filters.cs
- sqlpipe.cs
- AsyncContentLoadedEventArgs.cs
- GraphicsState.cs
- BrowserInteropHelper.cs
- DesignTimeXamlWriter.cs
- SystemDiagnosticsSection.cs
- XmlBinaryReader.cs
- Matrix3DStack.cs
- WindowsFormsHostPropertyMap.cs
- _NetRes.cs
- EditorZoneBase.cs
- DataStreamFromComStream.cs
- ReflectionUtil.cs
- HtmlButton.cs
- ObsoleteAttribute.cs
- infer.cs
- XmlReader.cs
- Event.cs