Name

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common >

Name

Previous page Return to chapter overview Next page

Definition

Determines the listed name of the NinjaScript object.

 

Property Value

A string value.

 

Syntax

Name

 

 

Examples

ns


protected override void OnStateChange()
{
 
  if (State == State.SetDefaults)
  {
    Name                 = "Examples indicator";
    Description           = @"An example of an indicator used for documentation purposes";    
  }
}