共用方式為


RangeValidationRule.Validate Method (Object, CultureInfo)

Microsoft internal use only.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Overrides Function Validate ( _
    value As Object, _
    cultureInfo As CultureInfo _
) As ValidationResult
public override ValidationResult Validate(
    Object value,
    CultureInfo cultureInfo
)
public:
virtual ValidationResult^ Validate(
    Object^ value, 
    CultureInfo^ cultureInfo
) override
abstract Validate : 
        value:Object * 
        cultureInfo:CultureInfo -> ValidationResult  
override Validate : 
        value:Object * 
        cultureInfo:CultureInfo -> ValidationResult
public override function Validate(
    value : Object, 
    cultureInfo : CultureInfo
) : ValidationResult

Parameters

  • value
    Type: Object
  • cultureInfo
    Type: CultureInfo

Return Value

Type: ValidationResult

.NET Framework Security

See Also

Reference

RangeValidationRule Class

Validate Overload

Microsoft.VisualStudio.PlatformUI Namespace