ModelStateDictionary.IsValid Özellik

Tanım

Sözlükteki model durumu nesnelerinden herhangi birinde hata olup olmadığını gösteren bir değer alır.

public:
 property bool IsValid { bool get(); };
public bool IsValid { get; }
member this.IsValid : bool
Public ReadOnly Property IsValid As Boolean

Özellik Değeri

false herhangi bir hata bulunup bulunmadığını; aksi takdirde , true.

Şunlara uygulanır