PostCacheSubstitutionText.MaximumLength property

Gets or sets the maximum length of the property value to be rendered.

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

Syntax

'Declaration
Public Property MaximumLength As Integer
    Get
    Set
'Usage
Dim instance As PostCacheSubstitutionText
Dim value As Integer

value = instance.MaximumLength

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

Property value

Type: System.Int32

Remarks

When the property value is too long, it will be truncated to the specified length and "..." will be appended.

Setting this property to zero or a value less-than zero will disable this feature and the entire property value will be rendered.

See also

Reference

PostCacheSubstitutionText class

PostCacheSubstitutionText members

Microsoft.SharePoint.WebControls namespace