Compartilhar via


SPRegionalSettings.NegNumberMode Property

Gets the negative number mode that is used for displaying negative numbers in calculated fields based on the locale of the server.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property NegNumberMode As UInteger
    Get
'Usage
Dim instance As SPRegionalSettings
Dim value As UInteger

value = instance.NegNumberMode
public uint NegNumberMode { get; }

Property Value

Type: System.UInt32
An unsigned 32-bit integer that indicates the negative number mode.

Remarks

The NegNumberMode property contains one of the values listed in the following table, depending on the regional settings for the site.

Value

Description

Example

0

Parentheses contain the number.

(1.1)

1

Placed before the number.

-1.1

2

Placed before the number with extra space.

- 1.1

3

Placed after the number.

1.1-

4

Placed after the number with extra space.

1.1 -

See Also

Reference

SPRegionalSettings Class

SPRegionalSettings Members

Microsoft.SharePoint Namespace