Share via


ViewCollection Constructor (Int32, CollationInfo)

Initializes a new instance of the ViewCollection class that uses the specified capacity and CollationInfo object.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Sub New ( _
    initialCapacity As Integer, _
    collationInfo As CollationInfo _
)
'Usage
Dim initialCapacity As Integer
Dim collationInfo As CollationInfo

Dim instance As New ViewCollection(initialCapacity, _
    collationInfo)
public ViewCollection(
    int initialCapacity,
    CollationInfo collationInfo
)
public:
ViewCollection(
    int initialCapacity, 
    CollationInfo^ collationInfo
)
new : 
        initialCapacity:int * 
        collationInfo:CollationInfo -> ViewCollection
public function ViewCollection(
    initialCapacity : int, 
    collationInfo : CollationInfo
)

Parameters

  • initialCapacity
    Type: System.Int32
    The number of elements that the new collection can initially store.