HttpParameterBinding.IsValid Property
Gets a value that indicates whether the binding was successful.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public ReadOnly Property IsValid As Boolean
Get
'Usage
Dim instance As HttpParameterBinding
Dim value As Boolean
value = instance.IsValid
public bool IsValid { get; }
public:
property bool IsValid {
bool get ();
}
member IsValid : bool
function get IsValid () : boolean
Property Value
Type: System.Boolean
true if the binding was successful; otherwise, false.
Remarks
If the value is true, the ExecuteBindingAsync(ModelMetadataProvider, HttpActionContext, CancellationToken) method can be called. If false, the ErrorMessage property contains an error message.