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 SourceMultiPartFormParam()
Declaration
public MultiPartFormParam()
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 SourcefileName
The name of the file to upload. Optional.
Declaration
public string fileName
Field Value
Type | Description |
---|---|
System.String |
mimeType
Defines the MimeType of the objects being uploaded. Refer to ApiConstants for samples.
Declaration
public string mimeType
Field Value
Type | Description |
---|---|
System.String |
name
Name of the entry. Default is "item". Optional
Declaration
public string name
Field Value
Type | Description |
---|---|
System.String |
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 |