ChartSerializer.Reset 方法

定义

重置所有标记为要进行序列化的图表属性。Resets all chart properties marked for serialization.

public:
 void Reset();
public void Reset ();
member this.Reset : unit -> unit
Public Sub Reset ()

注解

默认情况下,此方法将所有图表属性重置为其默认值。By default, this method resets all chart properties to their default values.

若要将重置的图表属性限制为默认值,请使用 ContentSerializableContentNonSerializableContent 属性。To limit the chart properties that are reset to their defaults, use the Content, SerializableContent and NonSerializableContent properties.

请注意,当 Load 使用方法并且 IsResetWhenLoading 属性设置为时,也会自动调用此方法 trueNote that this method is also called automatically when a Load method is used and the IsResetWhenLoading property is set to true.

适用于