Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FixedSOMPageConstructor.cs
- FixedFlowMap.cs
- DBDataPermission.cs
- XmlDocumentViewSchema.cs
- EntityContainerEntitySet.cs
- AutomationProperties.cs
- PackagePartCollection.cs
- HttpModuleActionCollection.cs
- _CacheStreams.cs
- Vars.cs
- Part.cs
- ReceiveSecurityHeaderEntry.cs
- ContextDataSourceView.cs
- FrameworkTextComposition.cs
- BigInt.cs
- TrackingParameters.cs
- Pool.cs
- CodeDirectionExpression.cs
- ToolStripArrowRenderEventArgs.cs
- SafeArrayRankMismatchException.cs
- FaultFormatter.cs
- SqlUnionizer.cs
- Parameter.cs
- ThaiBuddhistCalendar.cs
- TailPinnedEventArgs.cs
- DoubleLink.cs
- LockedAssemblyCache.cs
- FillBehavior.cs
- Lasso.cs
- CollectionBuilder.cs
- XmlSchemaSimpleTypeRestriction.cs
- dbenumerator.cs
- WindowsImpersonationContext.cs
- CrossAppDomainChannel.cs
- HttpCookiesSection.cs
- LocatorPartList.cs
- UshortList2.cs
- Filter.cs
- ToolStripRendererSwitcher.cs
- SettingsPropertyCollection.cs
- DbMetaDataColumnNames.cs
- SchemaElement.cs
- SplitterCancelEvent.cs
- MemberAccessException.cs
- PtsContext.cs
- DictionaryContent.cs
- ComplexLine.cs
- RoleService.cs
- dataprotectionpermission.cs
- DocComment.cs
- CapabilitiesAssignment.cs
- SessionIDManager.cs
- LicenseContext.cs
- StdValidatorsAndConverters.cs
- DaylightTime.cs
- baseaxisquery.cs
- TemplateBindingExtension.cs
- xml.cs
- HtmlInputRadioButton.cs
- XmlBinaryReader.cs
- XpsS0ValidatingLoader.cs
- HtmlInputReset.cs
- ProcessRequestArgs.cs
- Misc.cs
- HttpConfigurationContext.cs
- Win32PrintDialog.cs
- DataExpression.cs
- CngKey.cs
- CompatibleComparer.cs
- TypeHelpers.cs
- GlyphingCache.cs
- XmlDataLoader.cs
- OrderedDictionaryStateHelper.cs
- RegexGroupCollection.cs
- EpmSourceTree.cs
- EmptyElement.cs
- TextBoxView.cs
- ErrorWrapper.cs
- SchemaTableColumn.cs
- ExecutedRoutedEventArgs.cs
- BatchStream.cs
- DependencyObjectProvider.cs
- InternalUserCancelledException.cs
- PageContentCollection.cs
- PeerApplicationLaunchInfo.cs
- GuidelineCollection.cs
- XamlSerializer.cs
- Oid.cs
- SynchronizationLockException.cs
- ToolStripTextBox.cs
- CookieProtection.cs
- EncodingTable.cs
- HttpResponseHeader.cs
- QueryExpression.cs
- KeyboardNavigation.cs
- MonitoringDescriptionAttribute.cs
- SeverityFilter.cs
- SqlGatherProducedAliases.cs
- Policy.cs
- WebScriptMetadataMessage.cs