Share via


TabSize.IsValid Method (Int32%)

Determines whether a given tab size is valid.

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

Syntax

'Declaration
Public Overrides Function IsValid ( _
    ByRef proposedValue As Integer _
) As Boolean
public override bool IsValid(
    ref int proposedValue
)
public:
virtual bool IsValid(
    int% proposedValue
) override
abstract IsValid : 
        proposedValue:int byref -> bool  
override IsValid : 
        proposedValue:int byref -> bool
public override function IsValid(
    proposedValue : int
) : boolean

Parameters

  • proposedValue
    Type: Int32%

    The size of the tab, in number of spaces.

Return Value

Type: Boolean
true if proposedValue is a valid size, otherwise false.

.NET Framework Security

See Also

Reference

TabSize Class

IsValid Overload

Microsoft.VisualStudio.Text.Editor Namespace