Share via


ParameterCollection Constructor (Int32, CollationInfo)

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

Parameters

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

See Also

Reference

ParameterCollection Class

ParameterCollection Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace