Dela via


EmbeddedImage.IsValidMimeType Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Indicates whether the specified MIME type is valid.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Shared Function IsValidMimeType ( _
    mimeType As String _
) As Boolean
'Usage
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

Parameters

Return Value

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

See Also

Reference

EmbeddedImage Class

Microsoft.ReportingServices.RdlObjectModel Namespace