StaMultipartPoster.AddFilePart

This function adds the named file's content as a multipart part.

Syntax Parameters Return Value
Sub StaMultipartPoster.AddFilePart( _
    Name As String, _
    SourceFileOrStream As Variant, _
    Optional ContentType As String = "application/octet-stream", _
    Optional FilenameInHeaders As String = "", _
    Optional ContentDispNames As Variant, _
    Optional ContentDispValues As Variant)
  • Name [in]

Type: String

  • SourceFileOrStream [in]

Type: Variant

  • ContentType [in,optional]

Type: String

Default value: "application/octet-stream"

  • FilenameInHeaders [in,optional]

Type: String

Default value: ""

  • ContentDispNames [in,optional]

Type: Variant

  • ContentDispValues [in,optional]

Type: Variant

This function does not return a value.