共用方式為


Image.MIMEType Property

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 (in microsoft.reportingservices.processingcore.dll)

語法

'宣告
Public Property MIMEType As String
public string MIMEType { get; set; }
public:
virtual property String^ MIMEType {
    String^ get () sealed;
    void set (String^ value);
}
/** @property */
public final String get_MIMEType ()

/** @property */
public void set_MIMEType (String value)
public final function get MIMEType () : String

public function set MIMEType (value : 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

備註

新增:2005 年 12 月 5 日

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Image Class
Image Members
Microsoft.ReportingServices.ReportRendering Namespace