EmbeddedImage.IsValidMimeType(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the specified MIME type is valid.
public:
static bool IsValidMimeType(System::String ^ mimeType);
public static bool IsValidMimeType (string mimeType);
static member IsValidMimeType : string -> bool
Public Shared Function IsValidMimeType (mimeType As String) As Boolean
Parameters
- mimeType
- String
The specified MIME type.
Returns
true
if the specified MIME type is valid; otherwise, false
.