Share via


SPFieldCalculated.Currency property

NOTE: This API is now obsolete.

Gets or sets the currency format that is used in the field.

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

Syntax

'Declaration
<ObsoleteAttribute("This property is no longer supported and will be removed in a future release. Use CurrencyLocaleId as an alternative.")> _
Public Property Currency As SPCurrencyFieldFormats
    Get
    Set
'Usage
Dim instance As SPFieldCalculated
Dim value As SPCurrencyFieldFormats

value = instance.Currency

instance.Currency = value
[ObsoleteAttribute("This property is no longer supported and will be removed in a future release. Use CurrencyLocaleId as an alternative.")]
public SPCurrencyFieldFormats Currency { get; set; }

Property value

Type: Microsoft.SharePoint.SPCurrencyFieldFormats
A Microsoft.SharePoint.SPCurrencyFieldFormats value that specifies the currency format.

See also

Reference

SPFieldCalculated class

SPFieldCalculated members

Microsoft.SharePoint namespace