DefaultFilterRuleCustomizationFactory.GetErrorMessageForInvalidValue Method
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.
Get an error message to display to a user when they provide a string value that cannot be parsed to type typeToParseTo.
public:
override System::String ^ GetErrorMessageForInvalidValue(System::String ^ value, Type ^ typeToParseTo);
public:
override Platform::String ^ GetErrorMessageForInvalidValue(Platform::String ^ value, Platform::Type ^ typeToParseTo);
public override string GetErrorMessageForInvalidValue (string value, Type typeToParseTo);
override this.GetErrorMessageForInvalidValue : string * Type -> string
Public Overrides Function GetErrorMessageForInvalidValue (value As String, typeToParseTo As Type) As String
Parameters
- value
- String
The value entered by the user.
- typeToParseTo
- Type
The desired type to parse value to.
Returns
An error message to a user to explain how they can enter a valid value.