共用方式為


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
)

參數

  • fieldName
    Type: System.String

    字串,包含新欄位的名稱。

請參閱

參照

SPFieldText class

SPFieldText members

SPFieldText overload

Microsoft.SharePoint namespace