EditorOptionDefinition.IsValid Method (Object)

 

Determines whether the proposed value is valid.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public virtual bool IsValid(
	ref object proposedValue
)

Parameters

proposedValue
Type: System.Object

The proposed value for this option.

Return Value

Type: System.Boolean

true if the value is valid, otherwise false.

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.

Return to top
Show: