Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TransactionFlowBindingElement.cs
- CharacterBuffer.cs
- CodeConstructor.cs
- DirectoryGroupQuery.cs
- HtmlInputHidden.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- OpCodes.cs
- TextEditorTyping.cs
- AttributeCollection.cs
- SQLDoubleStorage.cs
- OracleDateTime.cs
- StreamWriter.cs
- SourceFileInfo.cs
- PrefixHandle.cs
- SqlConnectionHelper.cs
- BaseInfoTable.cs
- DeviceSpecific.cs
- InternalException.cs
- LinearGradientBrush.cs
- TextSerializer.cs
- CodeMemberMethod.cs
- CqlGenerator.cs
- AuthenticationModulesSection.cs
- ConfigDefinitionUpdates.cs
- COM2ComponentEditor.cs
- LogExtent.cs
- CompositeDataBoundControl.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- CheckedListBox.cs
- SqlPersonalizationProvider.cs
- UnsafeCollabNativeMethods.cs
- TreeViewAutomationPeer.cs
- ToolZoneDesigner.cs
- Cursor.cs
- ProviderConnectionPoint.cs
- RMEnrollmentPage1.cs
- BinaryObjectWriter.cs
- ConstraintEnumerator.cs
- ClientConfigurationHost.cs
- CurrencyManager.cs
- DataSysAttribute.cs
- ApplicationTrust.cs
- ExpressionPrefixAttribute.cs
- KeyFrames.cs
- BinaryMethodMessage.cs
- DataGridViewRowPostPaintEventArgs.cs
- Track.cs
- pingexception.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ClientData.cs
- SerializationStore.cs
- SizeConverter.cs
- CompiledIdentityConstraint.cs
- SystemColors.cs
- ActiveXSite.cs
- RtfFormatStack.cs
- CompositeScriptReferenceEventArgs.cs
- SiteMapNodeItem.cs
- StackSpiller.Bindings.cs
- ApplyTemplatesAction.cs
- BaseServiceProvider.cs
- ArithmeticException.cs
- CheckBoxStandardAdapter.cs
- CriticalFinalizerObject.cs
- SqlFlattener.cs
- DataServiceKeyAttribute.cs
- dtdvalidator.cs
- WebBrowsableAttribute.cs
- DoubleKeyFrameCollection.cs
- Timer.cs
- ObjectDataSourceEventArgs.cs
- Activity.cs
- DataException.cs
- HttpCapabilitiesBase.cs
- MembershipSection.cs
- BuildManagerHost.cs
- BufferedGraphicsContext.cs
- Mapping.cs
- OleDbException.cs
- TaiwanCalendar.cs
- EDesignUtil.cs
- CodePropertyReferenceExpression.cs
- SelectionEditor.cs
- HtmlElementEventArgs.cs
- RsaSecurityTokenAuthenticator.cs
- ServerValidateEventArgs.cs
- CacheMode.cs
- NegotiateStream.cs
- ConsoleKeyInfo.cs
- ComponentEvent.cs
- DeploymentSection.cs
- XPathSelectionIterator.cs
- GetUserPreferenceRequest.cs
- Cursors.cs
- CommandField.cs
- HighlightComponent.cs
- IisTraceWebEventProvider.cs
- DataRowView.cs
- DataGridViewCellPaintingEventArgs.cs
- CustomErrorsSectionWrapper.cs