ReadOnlyList<T> Structure
Represents a generic structure that exposes the read-only interface of a list while hides its mutable interface.
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
| Name | Description | |
|---|---|---|
![]() | ReadOnlyList<T>(IList<T>^) | Initializes a new instance of the ReadOnlyList<T> class with the specified list. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of elements contained in the list. |
![]() | Item[Int32] | Gets the element at the specified index. |
| Name | Description | |
|---|---|---|
![]() | Contains(T) | Indicates whether the list contains a specific value. |
![]() | CopyTo(array<T>^, Int32) | Copies the elements of the list to an array, starting at a particular array index. |
![]() | Equals(Object^) | (Inherited from ValueType.) |
![]() | GetEnumerator() | Returns an enumerator that iterates through the list. |
![]() | GetHashCode() | (Inherited from ValueType.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IndexOf(T) | Determines the index of a specific item in the list. |
![]() | ToString() | (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Implicit(array<T>^ to ReadOnlyList<T>) | Returns an implicit conversion from an array to a list. |
![]() ![]() | Implicit(List<T>^ to ReadOnlyList<T>) | Returns an implicit conversion from a list to a read only list. |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | Returns an enumerator that iterates through the list. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





