共用方式為


IValidationRuleViolation.Severity 屬性

取得此驗證違規的嚴重性。

命名空間:  Microsoft.VisualStudio.SharePoint.Validation
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
ReadOnly Property Severity As ValidationRuleViolationSeverity
ValidationRuleViolationSeverity Severity { get; }

屬性值

型別:Microsoft.VisualStudio.SharePoint.Validation.ValidationRuleViolationSeverity
物件,表示規則違規嚴重性。

.NET Framework 安全性

請參閱

參考

IValidationRuleViolation 介面

Microsoft.VisualStudio.SharePoint.Validation 命名空間