Share via


SPFieldCurrency.CurrencyLocaleId property

Gets or sets the currency symbol that is used to format the field's value, and also the position of the currency symbol (for example, whether before or after numeric values).

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

Syntax

'Declaration
Public Property CurrencyLocaleId As Integer
    Get
    Set
'Usage
Dim instance As SPFieldCurrency
Dim value As Integer

value = instance.CurrencyLocaleId

instance.CurrencyLocaleId = value
public int CurrencyLocaleId { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the locale ID. For example, 1033 specifies the locale ID for "English (United States)", and formats the currency value using the dollar symbol ($). The specified property value also determines the position of the currency symbol. For example, 123,456.00 € for France, or € 123,456.00 for Italy.

Remarks

Numeric formatting (decimal and place separator, etc.) are determined by the value of SPWeb.RegionalSettings.LocaleId. It is necessary to call the Update method for changes to be persisted.

See also

Reference

SPFieldCurrency class

SPFieldCurrency members

Microsoft.SharePoint namespace