Compartilhar via


SPColumnDefinition Constructor (String, SqlDbType, Int32)

Instantiates a new instance of the SPColumnDefinition class and provides the name, the SQL data type, and the size for the new column.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    type As SqlDbType, _
    size As Integer _
)
'Usage
Dim name As String
Dim type As SqlDbType
Dim size As Integer

Dim instance As New SPColumnDefinition(name, type, _
    size)
public SPColumnDefinition(
    string name,
    SqlDbType type,
    int size
)

Parameters

See Also

Reference

SPColumnDefinition Structure

SPColumnDefinition Members

SPColumnDefinition Overload

Microsoft.SharePoint.Administration Namespace