共用方式為


EmbeddedImage.IsValidMimeType(String) Method

Definition

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.

Applies to