Compartir a través de


EditorOptionDefinition.IsValid(Object) Method

Definition

Determines whether the proposed value is valid.

public:
 virtual bool IsValid(System::Object ^ % proposedValue);
 virtual bool IsValid(winrt::Windows::Foundation::IInspectable const & & proposedValue);
public virtual bool IsValid (ref object proposedValue);
abstract member IsValid : obj -> bool
override this.IsValid : obj -> bool
Public Overridable Function IsValid (ByRef proposedValue As Object) As Boolean

Parameters

proposedValue
Object

The proposed value for this option.

Returns

true if the value is valid, otherwise false.

Remarks

By the time the value is passed to this method, it has already been checked to be of the correct ValueType. The implementer of this method may modify the value.

Applies to