ValidationContext.ValidationSubjects 属性

获取模型元素列表验证。

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

语法

声明
Public ReadOnly Property ValidationSubjects As ReadOnlyCollection(Of ModelElement)
public ReadOnlyCollection<ModelElement> ValidationSubjects { get; }

属性值

类型:System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>
返回模型元素的只读集合。

备注

该集合包含可以具有验证方法。应用于它们的任何模型元素。

.NET Framework 安全性

请参见

参考

ValidationContext 类

Microsoft.VisualStudio.Modeling.Validation 命名空间