SoapMethodAttribute::UseAttribute Property
.NET Framework (current version)
Gets or sets a value indicating whether the target of the current attribute will be serialized as an XML attribute instead of an XML field.
Assembly: mscorlib (in mscorlib.dll)
public: property bool UseAttribute { virtual bool get() override; virtual void set(bool value) override; }
| Exception | Condition |
|---|---|
| RemotingException | An attempt was made to set the current property. |
The UseAttribute property cannot be set on the SoapMethodAttribute attribute.
.NET Framework
Available since 1.1
Available since 1.1
Show: