แก้ไข

แชร์ผ่าน


ValidationResult.Success Field

Definition

Represents the success of the validation.

public: static initonly System::ComponentModel::DataAnnotations::ValidationResult ^ Success;
public static readonly System.ComponentModel.DataAnnotations.ValidationResult Success;
public static readonly System.ComponentModel.DataAnnotations.ValidationResult? Success;
 staticval mutable Success : System.ComponentModel.DataAnnotations.ValidationResult
Public Shared ReadOnly Success As ValidationResult 

Field Value

Remarks

The null value is used to indicate success. Consumers of ValidationResult should compare the values to Success rather than checking for null.

Applies to