共用方式為


SPFieldCurrency class

表示包含貨幣值的欄位。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPField
    Microsoft.SharePoint.SPFieldNumber
      Microsoft.SharePoint.SPFieldCurrency

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

Syntax

'宣告
Public Class SPFieldCurrency _
    Inherits SPFieldNumber
'用途
Dim instance As SPFieldCurrency
public class SPFieldCurrency : SPFieldNumber

備註

如果您設定SPFieldCurrency類別的屬性必須呼叫Update方法,用於變更資料庫中才會生效。

SPFieldCurrency物件可以透過CurrencyField伺服器控制項呈現。

SPFieldCurrency類別會對應到透過Type屬性的欄位項目指定的Currency資料型別。

Notes to inheritors

SharePoint Foundation,在自訂欄位類型為基礎的資料行是唯讀,在 [資料工作表檢視中。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPFieldCurrency members

Microsoft.SharePoint namespace