Literal<T>.ShouldSerializeValue 方法

定義

傳回值,這個值表示 Value 屬性是否已變更為非預設值且應該序列化。

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

傳回

如果應序列化 Value 屬性值,則為 true,否則為 false

適用於