op_Explicit
Leave feedback
On this page
Casts specified QuoteType instance to the Char
public static explicit operator char(QuoteType quote)
| Parameter | Type | Description |
|---|---|---|
| quote | QuoteType | Quote type instance to cast |
- struct QuoteType
- namespace GroupDocs.Editor.HtmlCss.Serialization
- assembly GroupDocs.Editor
Casts specific Char to the corresponding QuoteType, throws exception if casting is invalid
public static explicit operator QuoteType(char character)
| Parameter | Type | Description |
|---|---|---|
| character | Char | A single quote (U+0027 APOSTROPHE) or double quote (U+0022 QUOTATION MARK) character. Exception will be thrown if any other character will be specified. |
| exception | condition |
|---|---|
| ArgumentOutOfRangeException | Specified Char is not either a quotation mark or apostrophe |
- struct QuoteType
- namespace GroupDocs.Editor.HtmlCss.Serialization
- assembly GroupDocs.Editor
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.