共用方式為


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)
Available in Sandboxed Solutions: No

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