共用方式為


SerializeOptions.IgnoreChildrenExceptAnnotations Property

Definition

Serialize the current object with Annotations only (do not serialize any other children).

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

Property Value

Applies to