ErrorMessageLocalizationContext.Attribute Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the validation attribute that produced the error.
public:
property System::ComponentModel::DataAnnotations::ValidationAttribute ^ Attribute { System::ComponentModel::DataAnnotations::ValidationAttribute ^ get(); void set(System::ComponentModel::DataAnnotations::ValidationAttribute ^ value); };
public System.ComponentModel.DataAnnotations.ValidationAttribute Attribute { get; init; }
member this.Attribute : System.ComponentModel.DataAnnotations.ValidationAttribute with get, set
Public Property Attribute As ValidationAttribute