Udostępnij przez


Właściwość Image.MIMEType

Zwraca typ MIME obrazu.MIMEType Musi być jedną z następujących: obraz i bmp, image/jpeg, obraz/x-png; obraz i png lub obraz i gif.

Przestrzeń nazw:  Microsoft.ReportingServices.ReportRendering
Zestaw:  Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)

Składnia

'Deklaracja
Public Property MIMEType As String
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System.String

A ciąg zawierające typ MIME obrazu.Zwracana wartość musi być jedną z następujących prawidłowych wartości:

  • image/bmp

  • image/jpeg

  • image/x-png

  • image/png

  • image/gif

Implementacje

IImage.MIMEType

Uwagi

Implementuje