EditorOptionDefinition.IsValid(Object) 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.
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.