SerializeOptions.IgnoreChildrenExceptAnnotations 属性

定义

仅序列化具有注释的当前对象(不序列化任何其他子级)。

public bool IgnoreChildrenExceptAnnotations { get; set; }
member this.IgnoreChildrenExceptAnnotations : bool with get, set
Public Property IgnoreChildrenExceptAnnotations As Boolean

属性值

适用于