SwfDotNet.IO.ComponentCollection.GetLastOne C# (CSharp) Method

GetLastOne() public method

Gets the last component of the collection.
public GetLastOne ( ) : Component
return Component
        public Component GetLastOne()
        {
            if (this.Count == 0)
                return null;

            return this[this.Count - 1];
        }