FormatAttribute
FormatAttribute class
Ordonne à la sérialisation des objets de sérialiser le membre avec le nom et le format spécifiés
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class FormatAttribute : Attribute
Constructeurs
Nom | La description |
---|---|
FormatAttribute(string) | Crée l’attribut Format avec la propriété Name donnée |
FormatAttribute(string, string) | Crée l’attribut Format avec la propriété Name donnée |
Propriétés
Nom | La description |
---|---|
PropertyFormat { get; set; } | Obtient ou définit le format de sérialisation de la propriété. |
PropertyName { get; set; } | Obtient ou définit le nom de la propriété. |
Voir également
- espace de noms GroupDocs.Signature.Domain.Extensions
- Assemblée GroupDocs.Signature