op_Explicit
EmailFormats Explicit operator
Converts a string representing a file extension to a EmailFormats object.
public static explicit operator EmailFormats(string extension)
| Parameter | Type | Description | 
|---|---|---|
| extension | String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. | 
Return Value
A EmailFormats object corresponding to the specified file extension.
Exceptions
| exception | condition | 
|---|---|
| EmailFormats | Thrown when the specified file extension is null. | 
See Also
- class EmailFormats
 - namespace GroupDocs.Editor.Formats
 - assembly GroupDocs.Editor