DatePartCollection Constructor (Int32)
Initializes a new instance of the DatePartCollection class that has the specified capacity.
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 _
)
'Usage
Dim initialCapacity As Integer
Dim instance As New DatePartCollection(initialCapacity)
public DatePartCollection(
int initialCapacity
)
public:
DatePartCollection(
int initialCapacity
)
new :
initialCapacity:int -> DatePartCollection
public function DatePartCollection(
initialCapacity : int
)
Parameters
- initialCapacity
Type: System.Int32
The number of elements that the new collection can initially store.
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace