EditorOptionDefinition<T>.IsValid Method (T%)
Determines whether the proposed value is valid.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Overridable Function IsValid ( _
ByRef proposedValue As T _
) As Boolean
public virtual bool IsValid(
ref T proposedValue
)
public:
virtual bool IsValid(
T% proposedValue
)
abstract IsValid :
proposedValue:'T byref -> bool
override IsValid :
proposedValue:'T byref -> bool
public function IsValid(
proposedValue : T
) : boolean
Parameters
proposedValue
Type: T%The proposed value for this option.
Return Value
Type: System.Boolean
true if the value is valid, otherwise false.
Remarks
The implementer of this method may modify the value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.