Bagikan melalui


Attachments class

Kelas yang mewakili Lampiran.

Konstruktor

Attachments(ConnectorClientContext)

Membuat Lampiran.

Metode

getAttachment(string, string, RequestOptionsBase)

Mendapatkan tampilan bernama sebagai konten biner

getAttachment(string, string, RequestOptionsBase, ServiceCallback<void>)
getAttachment(string, string, ServiceCallback<void>)
getAttachmentInfo(string, RequestOptionsBase)

Dapatkan struktur AttachmentInfo yang menjelaskan tampilan lampiran

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)
getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

Detail Konstruktor

Attachments(ConnectorClientContext)

Membuat Lampiran.

new Attachments(client: ConnectorClientContext)

Parameter

client
ConnectorClientContext

Referensi ke klien layanan.

Detail Metode

getAttachment(string, string, RequestOptionsBase)

Mendapatkan tampilan bernama sebagai konten biner

function getAttachment(attachmentId: string, viewId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentResponse>

Parameter

attachmentId

string

id lampiran

viewId

string

Lihat id dari attachmentInfo

options

RequestOptionsBase

Mengembalikan

Promise<Models.AttachmentsGetAttachmentResponse>

Menjanjikan<Models.AttachmentsGetAttachmentResponse>

getAttachment(string, string, RequestOptionsBase, ServiceCallback<void>)

function getAttachment(attachmentId: string, viewId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameter

attachmentId

string

id lampiran

viewId

string

Lihat id dari attachmentInfo

options

RequestOptionsBase

Parameter opsional

callback

ServiceCallback<void>

Panggilan balik

getAttachment(string, string, ServiceCallback<void>)

function getAttachment(attachmentId: string, viewId: string, callback: ServiceCallback<void>)

Parameter

attachmentId

string

id lampiran

viewId

string

Lihat id dari attachmentInfo

callback

ServiceCallback<void>

Panggilan balik

getAttachmentInfo(string, RequestOptionsBase)

Dapatkan struktur AttachmentInfo yang menjelaskan tampilan lampiran

function getAttachmentInfo(attachmentId: string, options?: RequestOptionsBase): Promise<Models.AttachmentsGetAttachmentInfoResponse>

Parameter

attachmentId

string

id lampiran

options

RequestOptionsBase

Mengembalikan

Promise<Models.AttachmentsGetAttachmentInfoResponse>

Menjanjikan<Models.AttachmentsGetAttachmentInfoResponse>

getAttachmentInfo(string, RequestOptionsBase, ServiceCallback<AttachmentInfo>)

function getAttachmentInfo(attachmentId: string, options: RequestOptionsBase, callback: ServiceCallback<AttachmentInfo>)

Parameter

attachmentId

string

id lampiran

options

RequestOptionsBase

Parameter opsional

callback

ServiceCallback<AttachmentInfo>

Panggilan balik

getAttachmentInfo(string, ServiceCallback<AttachmentInfo>)

function getAttachmentInfo(attachmentId: string, callback: ServiceCallback<AttachmentInfo>)

Parameter

attachmentId

string

id lampiran

callback

ServiceCallback<AttachmentInfo>

Panggilan balik