语言

Message.ShouldSerializeAttachments 方法

定义

Newtonsoft JSON 方法用于条件序列化该 Attachments 属性。

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

返回

true序列化该属性;否则,。 false

适用于