次の方法で共有


SoapMethodAttribute.UseAttribute プロパティ

定義

現在の属性のターゲットを XML フィールドではなく XML 属性としてシリアル化するかどうかを示す値を取得または設定します。

public:
 virtual property bool UseAttribute { bool get(); void set(bool value); };
public override bool UseAttribute { get; set; }
member this.UseAttribute : bool with get, set
Public Overrides Property UseAttribute As Boolean

プロパティ値

現在の実装は、常に false を返します。

例外

現在のプロパティを設定しようとしました。

注釈

属性に UseAttribute プロパティを SoapMethodAttribute 設定することはできません。

適用対象