共用方式為


EmbeddedImage.IsValidMimeType 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Indicates whether the specified MIME type is valid.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Shared Function IsValidMimeType ( _
    mimeType As String _
) As Boolean
'用途
Dim mimeType As String 
Dim returnValue As Boolean 

returnValue = EmbeddedImage.IsValidMimeType(mimeType)
public static bool IsValidMimeType(
    string mimeType
)
public:
static bool IsValidMimeType(
    String^ mimeType
)
static member IsValidMimeType : 
        mimeType:string -> bool
public static function IsValidMimeType(
    mimeType : String
) : boolean

參數

傳回值

型別:System.Boolean
true if the specified MIME type is valid; otherwise, false.

請參閱

參考

EmbeddedImage 類別

Microsoft.ReportingServices.RdlObjectModel 命名空間