共用方式為


Message.ShouldSerializeAttachments 方法

定義

Newtonsoft JSON 方法,用於有條件地序列化 Attachments 屬性。

public bool ShouldSerializeAttachments();
member this.ShouldSerializeAttachments : unit -> bool
Public Function ShouldSerializeAttachments () As Boolean

傳回

true 表示序列化 屬性;否則為 false

適用於