public string? ErrorMessage { get; set; }
Public Property ErrorMessage As String
Get
Set
Dim instance As ValidatePatternAttribute
Dim value As String
value = instance.ErrorMessage
instance.ErrorMessage = value
public:
property String^ ErrorMessage {
String^ get ();
void set (String^ value);
}
If this property is , the message returned by ArgumentValidationAttributeGetErrorMessage(CommandLineArgument, Object) will be used.
This property is a compound format string, and may have three placeholders: {0} for the argument name, {1} for the value, and {2} for the pattern.