Share via


FilterRuleCustomizationFactory.GetErrorMessageForInvalidValue Method

Definition

Get an error message to display to a user when they provide a string value that cannot be parsed to type typeToParseTo.

public:
 abstract System::String ^ GetErrorMessageForInvalidValue(System::String ^ value, Type ^ typeToParseTo);
public:
 abstract Platform::String ^ GetErrorMessageForInvalidValue(Platform::String ^ value, Platform::Type ^ typeToParseTo);
public abstract string GetErrorMessageForInvalidValue (string value, Type typeToParseTo);
abstract member GetErrorMessageForInvalidValue : string * Type -> string
Public MustOverride 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.

Applies to