SPColumnDefinition constructor (String, SqlDbType, Int32)
具現化SPColumnDefinition類別的新執行個體,並提供新的資料行名稱、 SQL 資料類型及大小。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
name As String, _
type As SqlDbType, _
size As Integer _
)
'用途
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
)
參數
name
Type: System.String資料行的名稱。
type
Type: System.Data.SqlDbTypeSQL 資料類型與欄相關聯。
size
Type: System.Int32欄中,以位元組為單位的大小。