ICSSStyleDeclaration.GetPropertyPriority

ICSSStyleDeclaration.GetPropertyPriority method

Used to retrieve the priority of a CSS property (e.g. the “important” qualifier) if the property has been explicitly set in this declaration block.

public string GetPropertyPriority(string propertyName)
ParameterTypeDescription
propertyNameStringproperty is a DOMString representing the property name to be checked.

Return Value

priority is a DOMString that represents the priority (e.g. “important”) if one exists. If none exists, returns the empty string.

See Also