## HTMLDocument.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](../../../aspose.html.dom.css/icssstyledeclaration/)
* class [Element](../../../aspose.html.dom/element/)
* class [HTMLDocument](../)
* namespace [Aspose.Html](../../../aspose.html/)
* assembly [Aspose.HTML](../../../)
