共用方式為


SPFieldCurrency constructor (SPFieldCollection, String, String)

初始化根據指定的欄位集合、 類型和顯示名稱的SPFieldCurrency類別的新執行個體。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub New ( _
    fields As SPFieldCollection, _
    typeName As String, _
    displayName As String _
)
'用途
Dim fields As SPFieldCollection
Dim typeName As String
Dim displayName As String

Dim instance As New SPFieldCurrency(fields, _
    typeName, displayName)
public SPFieldCurrency(
    SPFieldCollection fields,
    string typeName,
    string displayName
)

參數

  • typeName
    Type: System.String

    欄位型別定義,例如, SPFieldType.Currency.ToString()的名稱

請參閱

參照

SPFieldCurrency class

SPFieldCurrency members

SPFieldCurrency overload

Microsoft.SharePoint namespace