Removes a style by name from the collection.
public override void Remove( string styleName )
Public Overrides Sub Remove ( styleName As String )
public: virtual void Remove( String^ styleName ) override
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the name is invalid or not exist in the collection. |
| InvalidOperationException | Thrown when style is still in use. |