Compartilhar via


FieldMetadata.DisplaySize Property

Gets or sets the maximum number of characters to display when rendering the field.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Property DisplaySize As Integer
    Get
    Set
'Usage
Dim instance As FieldMetadata
Dim value As Integer

value = instance.DisplaySize

instance.DisplaySize = value
public virtual int DisplaySize { get; set; }

Property Value

Type: System.Int32
A Int32 that represents the maximum number of characters (of the value of the field) that should be displayed.

See Also

Reference

FieldMetadata Class

FieldMetadata Members

Microsoft.SharePoint.WebControls Namespace