Panel.ShouldSerializeChildren 方法

定义

确定是否应对面板的 Children 集合进行序列化。Determines whether the Children collection of a panel should be serialized.

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

返回

Boolean

如果应对 Children 进行序列化,则为 true;否则为 falsetrue if the Children collection should be serialized; otherwise, false. 仅当 Children 集合不为空且不为 null 时对其进行序列化。The Children collection is only serialized if it is not empty and not null.

适用于