語言

ContractDescription.ShouldSerializeProtectionLevel 方法

定義

回傳一個值,指示屬性是否 ProtectionLevel 已從預設值變更,並應進行序列化。

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

傳回

true如果ProtectionLevel屬性值應該序列化;否則,。 false

適用於