Indiefreaks.Xna.Sessions.SessionProperties.this C# (CSharp) Method

this() public method

Returns the property value at the given index position
public this ( int index ) : int?
index int
return int?
        public int? this[int index]
        {
            get
            {
                if ((index < 0 || index >= 8))
                    throw new ArgumentOutOfRangeException("index");

                return _data[index];
            }
            set
            {
                if ((index < 0 || index >= 9))
                    throw new ArgumentOutOfRangeException("index");

                if (PropertyChanging != null)
                    PropertyChanging(index, value);

                _data[index] = value;
            }
        }
SessionProperties