Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved.Returns the index of a ///in /// the .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DateTimeValueSerializer.cs
- LogicalExpressionTypeConverter.cs
- RuntimeResourceSet.cs
- ArithmeticLiteral.cs
- ProfileManager.cs
- StaticTextPointer.cs
- LassoSelectionBehavior.cs
- TableDetailsRow.cs
- TextElementAutomationPeer.cs
- DataContractJsonSerializer.cs
- SafeTimerHandle.cs
- Keywords.cs
- ObjectDataSourceDisposingEventArgs.cs
- DataTemplate.cs
- TableCell.cs
- assertwrapper.cs
- SupportsEventValidationAttribute.cs
- DbDataSourceEnumerator.cs
- CodeCommentStatement.cs
- Script.cs
- Brush.cs
- ManagedFilter.cs
- SelectionItemPatternIdentifiers.cs
- EmptyImpersonationContext.cs
- NamespaceEmitter.cs
- ArrangedElement.cs
- CaseInsensitiveOrdinalStringComparer.cs
- EventProxy.cs
- OperationFormatStyle.cs
- OleDbSchemaGuid.cs
- SkinIDTypeConverter.cs
- WorkItem.cs
- ParenthesizePropertyNameAttribute.cs
- ExternalException.cs
- WebRequestModuleElementCollection.cs
- UncommonField.cs
- ObjectReferenceStack.cs
- AppDomainAttributes.cs
- PackUriHelper.cs
- SecurityTokenSerializer.cs
- PeerCollaborationPermission.cs
- StreamingContext.cs
- BindableTemplateBuilder.cs
- SimplePropertyEntry.cs
- CodeThrowExceptionStatement.cs
- DecimalStorage.cs
- ClientTarget.cs
- SoapReflectionImporter.cs
- RouteValueDictionary.cs
- StorageConditionPropertyMapping.cs
- OneToOneMappingSerializer.cs
- ReflectionServiceProvider.cs
- RegexCapture.cs
- ListViewContainer.cs
- CryptographicAttribute.cs
- HwndKeyboardInputProvider.cs
- SoapEnvelopeProcessingElement.cs
- DefaultPropertyAttribute.cs
- PingOptions.cs
- FormParameter.cs
- PopupEventArgs.cs
- OdbcParameter.cs
- DesignerAttribute.cs
- TraceContext.cs
- NumericExpr.cs
- RepeaterDataBoundAdapter.cs
- TextEffect.cs
- InProcStateClientManager.cs
- OrElse.cs
- VisualCollection.cs
- TPLETWProvider.cs
- HttpPostedFile.cs
- ResXBuildProvider.cs
- SignerInfo.cs
- SQLBinary.cs
- PageThemeBuildProvider.cs
- TextEditorContextMenu.cs
- EntityProxyTypeInfo.cs
- InvalidateEvent.cs
- UrlAuthorizationModule.cs
- TabRenderer.cs
- EventToken.cs
- QueryableDataSource.cs
- DynamicPropertyHolder.cs
- CodeValidator.cs
- SqlException.cs
- unsafenativemethodstextservices.cs
- BaseResourcesBuildProvider.cs
- MatrixKeyFrameCollection.cs
- DtrList.cs
- DesignerActionPropertyItem.cs
- CustomAttributeFormatException.cs
- ObjectItemConventionAssemblyLoader.cs
- BamlTreeNode.cs
- RefreshEventArgs.cs
- XPathNodePointer.cs
- ApplicationContext.cs
- ColorAnimation.cs
- RemotingConfigParser.cs
- ApplicationFileParser.cs