Image.MIMEType 属性

定义

返回图像的 MIME 类型。 MIMEType 必须是下列一种类型:image/bmp、image/jpeg、image/x-png、image/png 或 image/gif。

public:
 property System::String ^ MIMEType { System::String ^ get(); void set(System::String ^ value); };
public string MIMEType { get; set; }
member this.MIMEType : string with get, set
Public Property MIMEType As String

属性值

一个包含图像的 MIME 类型的string。 返回值必须是下列有效值之一:

  • image/bmp

  • image/jpeg

  • image/x-png

  • image/png

  • image/gif

注解

实现

Microsoft.ReportingServices.ReportRendering.IImage.MIMEType

适用于