IEditorSettings.ValidationEnabled 屬性
適用於版本2
取得或設定是否啟用驗證。
命名空間: Microsoft.WebMatrix.Extensibility.Editor
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Property ValidationEnabled As Boolean
Get
Set
'用途
Dim instance As IEditorSettings
Dim value As Boolean
value = instance.ValidationEnabled
instance.ValidationEnabled = value
bool ValidationEnabled { get; set; }
property bool ValidationEnabled {
bool get ();
void set (bool value);
}
abstract ValidationEnabled : bool with get, set
function get ValidationEnabled () : boolean
function set ValidationEnabled (value : boolean)
屬性值
型別:System.Boolean
true 表示啟用驗證,否則為 false。