IValidationRuleViolation.Code 属性

获取与验证冲突相关联的错误代码。

命名空间:  Microsoft.VisualStudio.SharePoint.Validation
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
ReadOnly Property Code As String
string Code { get; }

属性值

类型:System.String
一个表示错误代码的字符串。

备注

此属性应当总是具有值。

.NET Framework 安全性

请参见

参考

IValidationRuleViolation 接口

Microsoft.VisualStudio.SharePoint.Validation 命名空间