Share via


IndentSize.IsValid Method (Int32%)

Determines whether a given indent 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 indent, in number of spaces.

Return Value

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

.NET Framework Security

See Also

Reference

IndentSize Class

IsValid Overload

Microsoft.VisualStudio.Text.Editor Namespace