SPFieldText constructor (SPFieldCollection, String)
初始化根據指定的欄位集合和欄位名稱的SPFieldText類別的新執行個體。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
fields As SPFieldCollection, _
fieldName As String _
)
'用途
Dim fields As SPFieldCollection
Dim fieldName As String
Dim instance As New SPFieldText(fields, _
fieldName)
public SPFieldText(
SPFieldCollection fields,
string fieldName
)
參數
fields
Type: Microsoft.SharePoint.SPFieldCollectionSPFieldCollection物件,表示要在其中建立文字欄位的欄位集合。
fieldName
Type: System.String字串,包含新欄位的名稱。