[]
        
Validates whether the specified value's Type equals to the RequiredType
protected override bool Validate(ValidateActionContext context)Protected Overrides Function Validate(context As ValidateActionContext) As Boolean| Type | Name | Description | 
|---|---|---|
| ValidateActionContext | context | A ValidateActionContext value that indicates which value should be validated, and some relative context information. | 
| Type | Description | 
|---|---|
| bool | true if the specified value's Type equals to the RequiredType; otherwise, false. | 
If the RequiredType is null, the result is always successful.