Share via


SPFieldCurrency Class

The SPFieldCurrency class represents a field that contains currency values.

System.Object

   Microsoft.SharePoint.SPField

      Microsoft.SharePoint.SPFieldNumber

         Microsoft.SharePoint.SPFieldCurrency

Public Properties

The following table shows the public properties of the SPFieldCurrency class, the data type of each property, and a brief description of each.

Name Data Type Description
Currency Microsoft.SharePoint.SPCurrencyFieldFormats Gets or sets the type of currency used in the field.

Thread Safety

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

Remarks

Setting properties of the SPFieldCurrency class requires that the Update method be called for changes to take effect in the database.

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security