Name

View as Markdown

Definition

Indicates the name of the specified account

Property Value

A string representing the name of the account

Syntax

\<account\>.Name

Examples

1protected override void OnStateChange()
2 if (State == State.SetDefaults)
3 {
4 // Initialize myAccount
5 }
6
7private void OnAccountStatusUpdate(object sender, AccountStatusEventArgs e)
8{
9 // Print the name of each account updated
10 Print(String.Format("{0} account updated", myAccount.Name));
11}