SPFieldCurrency.Currency property

NOTE: This API is now obsolete.

Use the CurrencyLocaleId property to get or set the locale identifier (ID) of the currency field. (In Windows SharePoint Services 2.0 the Currency property was used to get or set the type of currency 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 SPFieldCurrency
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 SPCurrencyFieldFormats value that specifies the type of currency.

See also

Reference

SPFieldCurrency class

SPFieldCurrency members

Microsoft.SharePoint namespace