Scripts/Accounting/Account.cs
/// <summary>
/// Gets the value of a tag -or- null if there are no tags with the specified name.
/// </summary>
/// <param name="name">Name of the desired tag value.</param>
Gets the value of a tag -or- null if there are no tags with the specified name.
Gets the value of a tag - or - null if there are no tags with the specified name .
public string GetTag( string name )
		{
			for ( int i = 0; i < Tags.Count; ++i )
			{
				AccountTag tag = Tags[i];
				if ( tag.Name == name )
					return tag.Value;
			}
			return null;
		}
public string GetTag ( string name ) { for ( int i = 0 ; i < Tags . Count ; ++ i ) { AccountTag tag = Tags [ i ] ; if ( tag . Name == name ) return tag . Value ; } return null ; }
Gets the value of a tag -or- null if there are no tags with the specified name.
Gets the value of a tag - or - null if there are no tags with the specified name .
name
string
Name of the desired tag value.
Name of the desired tag value .