ReadOnlyStringCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ReadOnlyStringCollection class is a read-only collection that contains String objects.
public ref class ReadOnlyStringCollection : System::Collections::ReadOnlyCollectionBase
public class ReadOnlyStringCollection : System.Collections.ReadOnlyCollectionBase
type ReadOnlyStringCollection = class
inherit ReadOnlyCollectionBase
Public Class ReadOnlyStringCollection
Inherits ReadOnlyCollectionBase
- Inheritance
Properties
| Name | Description |
|---|---|
| Item[Int32] |
Gets a String object in this collection. |
Methods
| Name | Description |
|---|---|
| Contains(String) |
Determines if the specified String object is in this collection. |
| CopyTo(String[], Int32) |
Copies all String objects in this collection to the specified array, starting at the specified index of the target array. |
| IndexOf(String) |
Returns the index of the first occurrence of the specified String object in this collection. |