Bloom.ElementProxy.SetAttribute C# (CSharp) Method

SetAttribute() public method

Sets the named attribute
public SetAttribute ( string attributeName, string value ) : void
attributeName string
value string
return void
        public void SetAttribute(string attributeName, string value)
        {
            if (_xmlElement == null)
            {
                _geckoElement.SetAttribute(attributeName, value);
            }
            else
            {
                _xmlElement.SetAttribute(attributeName, value);
            }
        }