SoapMethodAttribute::UseAttribute Property

 

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.

Namespace:   System.Runtime.Remoting.Metadata
Assembly:  mscorlib (in mscorlib.dll)

public:
property bool UseAttribute {
	virtual bool get() override;
	virtual void set(bool value) override;
}

Property Value

Type: System::Boolean

The current implementation always returns false.

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
Return to top
Show: