ContractDescription.ShouldSerializeProtectionLevel 方法

定義

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

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

傳回

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

適用於