## IDocumentCSS.GetOverrideStyle method

This method is used to retrieve the override style declaration for a specified element and a specified pseudo-element.

```csharp
public ICSSStyleDeclaration GetOverrideStyle(Element elt, string pseudoElt)
```

| Parameter | Type | Description |
| --- | --- | --- |
| elt | Element | The element whose style is to be modified. This parameter cannot be null. |
| pseudoElt | String | The pseudo-element or null if none. |

### Return Value

The override style declaration

### See Also

* interface [ICSSStyleDeclaration](../../icssstyledeclaration/)
* class [Element](../../../aspose.html.dom/element/)
* interface [IDocumentCSS](../)
* namespace [Aspose.Html.Dom.Css](../../../aspose.html.dom.css/)
* assembly [Aspose.HTML](../../../)
