Scripts/Accounting/Account.cs
/// <summary>
/// Modifies an existing tag or adds a new tag if no tag exists.
/// </summary>
/// <param name="name">Tag name.</param>
/// <param name="value">Tag value.</param>
Modifies an existing tag or adds a new tag if no tag exists.
Modifies an existing tag or adds a new tag if no tag exists .
public void SetTag( string name, string value )
		{
			for ( int i = 0; i < Tags.Count; ++i )
			{
				AccountTag tag = Tags[i];
				if ( tag.Name == name )
				{
					tag.Value = value;
					return;
				}
			}
			AddTag( name, value );
		}
public void SetTag ( string name , string value ) { for ( int i = 0 ; i < Tags . Count ; ++ i ) { AccountTag tag = Tags [ i ] ; if ( tag . Name == name ) { tag . Value = value ; return ; } } AddTag ( name , value ) ; }
Modifies an existing tag or adds a new tag if no tag exists.
Modifies an existing tag or adds a new tag if no tag exists .
name
string
None
value
string
None