CSSPrimitiveValue.SetStringValue

CSSPrimitiveValue.SetStringValue method

A method to set the string value with the specified unit. If the property attached to this value can’t accept the specified unit or the string value, the value will be unchanged and a DOMException will be raised.

public abstract void SetStringValue(ushort stringType, string stringValue)
ParameterTypeDescription
stringTypeUInt16Type of the string.
stringValueStringThe string value.

See Also