Discuss this help topic in SecureBlackbox Forum

TElMessagePart.ContentType

TElMessagePart     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Specifies content type of the part.

Declaration

[C#]
    string ContentType;

[VB.NET]
    Property ContentType As String

[Pascal]
    property ContentType : TString;
    procedure SetContentType(const ContentType: TString; ClearParams: Boolean = False);

[C++]
    void get_ContentType(sb_u16string &OutResult);
    void get_ContentType(std::wstring &OutResult);

[PHP]
    string get_ContentType()

[Java]
    String getContentType();
    void setContentType(String AValue, boolean ClearParams);

Parameters

  • ContentType - content type of the part.
  • ClearParams - determines if field parameters will be deleted.
    Default value - False.

Description

    This property contains value only of part top-level content type. To get or set content subtype use ContentSubtype property.
     Note, this property is read-only. Use SetContentType method to set its value.

See also:     ContentSubtype    

Discuss this help topic in SecureBlackbox Forum