AppSettingValidationRuleValidate(AppSetting, Object) Method |
Note: This API is now obsolete.
Validates the specified value against the rule.
Namespace: Dundas.BI.ConfigurationAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.3.0.1000)
Syntax[ObsoleteAttribute("Use the Validate overload which takes a ValidationParameters object")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public virtual string? Validate(
AppSetting setting,
Object? value
)<ObsoleteAttribute("Use the Validate overload which takes a ValidationParameters object")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Overridable Function Validate (
setting As AppSetting,
value As Object
) As Stringpublic:
[ObsoleteAttribute(L"Use the Validate overload which takes a ValidationParameters object")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
virtual String^ Validate(
AppSetting^ setting,
Object^ value
)
[<ObsoleteAttribute("Use the Validate overload which takes a ValidationParameters object")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
abstract Validate :
setting : AppSetting *
value : Object -> string
[<ObsoleteAttribute("Use the Validate overload which takes a ValidationParameters object")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
override Validate :
setting : AppSetting *
value : Object -> string Parameters
- setting AppSetting
- The application setting corresponding to the value being validated.
- value Object
- The value to validate.
Return Value
String
If validation succeeds,
; otherwise, a string describing
why the validation failed.
See Also