共用方式為


SLRequest.AddMultipartData 方法

定義

多載

AddMultipartData(NSData, String, String)
AddMultipartData(NSData, String, String, String)

將多部分資料新增至要求。

AddMultipartData(NSData, String, String)

[Foundation.Export("addMultipartData:withName:type:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddMultipartData (Foundation.NSData data, string partName, string partType);
abstract member AddMultipartData : Foundation.NSData * string * string -> unit
override this.AddMultipartData : Foundation.NSData * string * string -> unit

參數

data
NSData
partName
String
partType
String
屬性

適用於

AddMultipartData(NSData, String, String, String)

將多部分資料新增至要求。

[Foundation.Export("addMultipartData:withName:type:filename:")]
public virtual void AddMultipartData (Foundation.NSData data, string partName, string partType, string filename);
abstract member AddMultipartData : Foundation.NSData * string * string * string -> unit
override this.AddMultipartData : Foundation.NSData * string * string * string -> unit

參數

data
NSData
partName
String
partType
String
filename
String
屬性

適用於