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