System.Web.Compilation.TagAttributes.this C# (CSharp) Method

this() public method

public this ( object key ) : object
key object
return object
		public object this [object key]
		{
			get {
				if (got_hashed)
					return atts_hash [key];

				int idx = CaseInsensitiveSearch ((string) key);
				if (idx == -1)
					return null;
						
				return values [idx];
			}

			set {
				if (got_hashed) {
					CheckServerKey (key);
					atts_hash [key] = value;
				} else {
					int idx = CaseInsensitiveSearch ((string) key);
					keys [idx] = value;
				}
			}
		}