SharpVectors.Dom.Css.CssStyleDeclaration.this C# (CSharp) Method

this() public method

Used to retrieve the properties that have been explicitly set in this declaration block. The order of the properties retrieved using this method does not have to be the order in which they were set. This method can be used to iterate over all properties in this declaration block. The name of the property at this ordinal position. The empty string if no property exists at this position.
public this ( ulong index ) : string
index ulong
return string
        public virtual string this[ulong index]
        {
            get
            {
                if(index>=Length) return String.Empty;
                else
                {
                    int ind = (int)index;
                    IDictionaryEnumerator enu = styles.GetEnumerator();
                    enu.MoveNext();
                    for(int i = 0; i<ind; i++) enu.MoveNext();
                    return (string)enu.Key;
                }
            }
        }