Share via


SPFieldNumber.ShowAsPercentage Property

Gets or sets a Boolean value that specifies whether to render the field as a percentage.

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

Syntax

Public Overridable Property ShowAsPercentage As Boolean
    Get
    Set

Dim instance As SPFieldNumber
Dim value As Boolean

value = instance.ShowAsPercentage

instance.ShowAsPercentage = value
public virtual bool ShowAsPercentage { get; set; }

Property Value

Type: System.Boolean
true to render the field as a percentage; otherwise, false.

See Also

Reference

SPFieldNumber Class

SPFieldNumber Members

Microsoft.SharePoint Namespace