System.Xml.HWStack.this C# (CSharp) Méthode

this() private méthode

private this ( int index ) : Object
index int
Résultat Object
        internal Object this[int index] {
            get {
                if (index >= 0 && index < this.used) {
                    Object result = this.stack[index];
                    return result;
                }
                else {
					throw new IndexOutOfRangeException();
				}
            }
            set {
                if (index >= 0 && index < this.used) {
					this.stack[index] = value;
				}
                else {
					throw new IndexOutOfRangeException();
				}
            }
        }