Partager via


SoapMethodAttribute.UseAttribute Propriété

Définition

Obtient ou définit une valeur indiquant si la cible de l’attribut actuel sera sérialisée en tant qu’attribut XML au lieu d’un champ 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

Valeur de propriété

L’implémentation actuelle retourne falsetoujours .

Exceptions

Une tentative a été effectuée pour définir la propriété actuelle.

Remarques

La UseAttribute propriété ne peut pas être définie sur l’attribut SoapMethodAttribute .

S’applique à