Show / Hide Table of Contents

Class MultiPartFormParam

Multipart form ApiData container used for POST requests.

Inheritance
System.Object
MultiPartFormParam
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Appearition.Internal
Assembly: Appearition.SDK.dll
Syntax
public class MultiPartFormParam

Constructors

View Source

MultiPartFormParam()

Declaration
public MultiPartFormParam()
View Source

MultiPartFormParam(String, Object, String, String)

Declaration
public MultiPartFormParam(string newName, object newValue, string newFilename, string newMimeType)
Parameters
Type Name Description
System.String newName
System.Object newValue
System.String newFilename
System.String newMimeType

Fields

View Source

fileName

The name of the file to upload. Optional.

Declaration
public string fileName
Field Value
Type Description
System.String
View Source

mimeType

Defines the MimeType of the objects being uploaded. Refer to ApiConstants for samples.

Declaration
public string mimeType
Field Value
Type Description
System.String
View Source

name

Name of the entry. Default is "item". Optional

Declaration
public string name
Field Value
Type Description
System.String
View Source

value

The file's content. For most ApiData, a Stream is expected. Textures/Texture2Ds are also accepted for image types.

Declaration
public object value
Field Value
Type Description
System.Object

Extension Methods

ObjectExtension.ToStream(Object)
  • View Source
Back to top Generated by DocFX