共用方式為


Image.MIMEType 屬性

Returns the MIME type of the image. The MIMEType must be one of the following: image/bmp, image/jpeg, image/x-png; image/png, or image/gif.

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Property MIMEType As String 
    Get 
    Set
'用途
Dim instance As Image 
Dim value As String 

value = instance.MIMEType

instance.MIMEType = value
public string MIMEType { get; set; }
public:
virtual property String^ MIMEType {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract MIMEType : string with get, set 
override MIMEType : string with get, set
final function get MIMEType () : String 
final function set MIMEType (value : String)

屬性值

型別:System.String

A string containing the MIME type of the image. The returned value must be one of the following valid values:

  • image/bmp

  • image/jpeg

  • image/x-png

  • image/png

  • image/gif

實作

IImage.MIMEType

備註

Implements

IImage.MIMEType

請參閱

參考

Image 類別

Microsoft.ReportingServices.ReportRendering 命名空間