FormatAttribute
Indica alla serializzazione degli oggetti di serializzare il membro con il nome e il formato specificati
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class FormatAttribute : Attribute
Costruttori
| Nome | 
Descrizione | 
| FormatAttribute(string) | 
Crea l’attributo Format con la proprietà specificata Name | 
| FormatAttribute(string, string) | 
Crea l’attributo Format con la proprietà specificata Name | 
Proprietà
| Nome | 
Descrizione | 
| PropertyFormat { get; set; } | 
Ottiene o imposta il formato di serializzazione della proprietà. | 
| PropertyName { get; set; } | 
Ottiene o imposta il nome della proprietà. | 
Guarda anche