ReadOnlyStringCollection Class (BCL)
Provides a read-only string collection.
This class is sealed.
System.Object
System.Collections.ReadOnlyCollectionBase
**** Microsoft.CommerceServer.Runtime.ReadOnlyStringCollection
Public Instance Constructor
Constructor | Description |
---|---|
ReadOnlyStringCollection Constructor(String[]) | Creates a new instance of the ReadOnlyStringCollection class from a given string array. |
ReadOnlyStringCollection Constructor(ArrayList) | Creates a new instance of the ReadOnlyStringCollection class from a given ArrayList. |
Public Instance Methods
Method | Description |
---|---|
CopyTo(Array, Int32) | Copies the strings in the collection to an array, starting at a particular array index. |
GetEnumerator (Inherited from System.ReadOnlyCollectionBase) | Refer to the .NET Framework SDK documentation for the System.ReadOnlyCollectionBase class. |
IndexOf(String) | Searches for the specified string and returns the zero-based index of the first occurrence within the entire ReadOnlyStringCollection class. |
Public Instance Properties
Property | Description |
---|---|
Count (Inherited from System.ReadOnlyCollectionBase) | Refer to the .NET Framework SDK documentation for the System.ReadOnlyCollectionBase class. |
IsSynchronized | Gets a value indicating whether access to the collection is synchronized. |
Item(Int32) | Indexer that enables getting a string in the collection by index. |
SyncRoot | Gets an object that can be used for synchronized access to the collection. |
Protected Instance Properties
Property | Description |
---|---|
InnerList (Inherited from System.ReadOnlyCollectionBase) | Refer to the .NET Framework SDK documentation for the System.ReadOnlyCollectionBase class. |
Requirements
Namespace: Microsoft.CommerceServer.Runtime
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
Copyright © 2005 Microsoft Corporation.
All rights reserved.