次の方法で共有


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

'宣言
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: System.Int32%
    The size of the indent, in number of spaces.

Return Value

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

.NET Framework Security

See Also

Reference

IndentSize Class

IsValid Overload

Microsoft.VisualStudio.Text.Editor Namespace