Share via


IndexCollection Constructor (Int32, CollationInfo)

Initializes a new instance of the IndexCollection 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 IndexCollection(initialCapacity, _
    collationInfo)
public IndexCollection(
    int initialCapacity,
    CollationInfo collationInfo
)
public:
IndexCollection(
    int initialCapacity, 
    CollationInfo^ collationInfo
)
new : 
        initialCapacity:int * 
        collationInfo:CollationInfo -> IndexCollection
public function IndexCollection(
    initialCapacity : int, 
    collationInfo : CollationInfo
)

Parameters

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