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
- PointF.cs
- SchemaCollectionCompiler.cs
- MatchNoneMessageFilter.cs
- NotEqual.cs
- FindProgressChangedEventArgs.cs
- MD5.cs
- QueryTreeBuilder.cs
- _BufferOffsetSize.cs
- PrtTicket_Base.cs
- DBBindings.cs
- IgnoreSectionHandler.cs
- AttributeAction.cs
- FixedDocumentSequencePaginator.cs
- ParameterCollection.cs
- EntityException.cs
- PasswordTextNavigator.cs
- WorkflowServiceHostFactory.cs
- DataColumnMapping.cs
- WorkflowOwnerAsyncResult.cs
- ScrollProperties.cs
- XamlReaderHelper.cs
- bindurihelper.cs
- SqlConnectionHelper.cs
- BrowserCapabilitiesFactory35.cs
- ElementHost.cs
- Identity.cs
- ConfigurationStrings.cs
- ServiceDescriptions.cs
- PerformanceCountersElement.cs
- ClientOptions.cs
- HyperLinkDataBindingHandler.cs
- ToolboxItem.cs
- InvokeMethodDesigner.xaml.cs
- DataExpression.cs
- TypeHelper.cs
- MediaPlayerState.cs
- List.cs
- XmlDeclaration.cs
- PerfCounters.cs
- SeekableReadStream.cs
- XmlSchemaComplexContentRestriction.cs
- LinkedResource.cs
- OutputCacheProfileCollection.cs
- Matrix3DStack.cs
- BoundsDrawingContextWalker.cs
- OdbcUtils.cs
- SerializeAbsoluteContext.cs
- QuaternionRotation3D.cs
- StringFreezingAttribute.cs
- _BufferOffsetSize.cs
- ToggleProviderWrapper.cs
- DbTransaction.cs
- CachedResourceDictionaryExtension.cs
- DataGridColumn.cs
- Membership.cs
- AdornerHitTestResult.cs
- PerspectiveCamera.cs
- __ComObject.cs
- SqlTriggerAttribute.cs
- FontUnit.cs
- controlskin.cs
- GeneralTransformCollection.cs
- SignedXml.cs
- XmlCharType.cs
- MasterPage.cs
- Label.cs
- DesignerForm.cs
- DesignTimeTemplateParser.cs
- ValueQuery.cs
- AccessDataSource.cs
- StaticResourceExtension.cs
- XmlException.cs
- Baml2006ReaderSettings.cs
- VirtualPath.cs
- DynamicQueryStringParameter.cs
- TrackingParameters.cs
- Unit.cs
- MatrixTransform.cs
- Regex.cs
- AxHostDesigner.cs
- VariableQuery.cs
- KnownTypes.cs
- SchemaTableColumn.cs
- CodeSnippetStatement.cs
- DetailsViewPageEventArgs.cs
- XmlExceptionHelper.cs
- TranslateTransform.cs
- future.cs
- ErrorLog.cs
- ExtenderControl.cs
- MonitoringDescriptionAttribute.cs
- CultureData.cs
- MessageSecurityVersionConverter.cs
- BoolExpression.cs
- ObjectDisposedException.cs
- MouseActionConverter.cs
- SQLInt64.cs
- Substitution.cs
- DragStartedEventArgs.cs
- AuthenticationConfig.cs