Rhino.Xmlimpl.XMLObjectImpl.Put C# (CSharp) Method

Put() public final method

Implementation of ECMAScript [[Put]]
public final Put ( Context cx, object id, object value ) : void
cx Context
id object
value object
return void
		public sealed override void Put(Context cx, object id, object value)
		{
			if (cx == null)
			{
				cx = Context.GetCurrentContext();
			}
			XMLName xmlName = lib.ToXMLNameOrIndex(cx, id);
			if (xmlName == null)
			{
				long index = ScriptRuntime.LastUint32Result(cx);
				// XXX Fix this cast
				Put((int)index, this, value);
				return;
			}
			PutXMLProperty(xmlName, value);
		}

Same methods

XMLObjectImpl::Put ( string name, Scriptable start, object value ) : void