public override string GetErrorMessage(
CommandLineArgument argument,
Object? value
)
Public Overrides Function GetErrorMessage (
argument As CommandLineArgument,
value As Object
) As String
Dim instance As ProhibitsAttribute
Dim argument As CommandLineArgument
Dim value As Object
Dim returnValue As String
returnValue = instance.GetErrorMessage(argument,
value)
public:
virtual String^ GetErrorMessage(
CommandLineArgument^ argument,
Object^ value
) override
Use a custom LocalizedStringProvider class that overrides the LocalizedStringProviderValidateProhibitsFailed(String, IEnumerableCommandLineArgument) method to customize this message.