ReadOnlyStringCollection Constructor (ArrayList)
Initializes a new instance of the ReadOnlyStringCollection class.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
stringList As ArrayList _
)
'Usage
Dim stringList As ArrayList
Dim instance As New ReadOnlyStringCollection(stringList)
public ReadOnlyStringCollection(
ArrayList stringList
)
public:
ReadOnlyStringCollection(
ArrayList^ stringList
)
public function ReadOnlyStringCollection(
stringList : ArrayList
)
Parameters
- stringList
Type: System.Collections..::.ArrayList
An array of strings. May be nullNothingnullptra null reference (Nothing in Visual Basic).
Remarks
Use this method to create a new instance of the ReadOnlyStringCollection class from a given string. The ReadOnlyStringCollection class is a read-only collection that contains String objects.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ReadOnlyStringCollection Class
ReadOnlyStringCollection Members