CharacterLimit

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Share Service >

CharacterLimit

Previous page Return to chapter overview Next page

Definition

Determines the maximum number of characters the social network allows. Signature, text, and links all contribute to this character count displayed on the share window.

 

A value of int.MaxValue determines no practical limit and will make the character count not appear on the Share window.

 

Property Value

A int value that represents the maximum number of characters the social network allows.

 

Syntax

CharacterLimit

 

 

Examples

ns


protected override void OnStateChange()

{                        

if (State == State.SetDefaults)

{

CharacterLimit        = 140;

}

}