计算并返回要验证的元素列表应包括的扩展元素的列表
命名空间: Microsoft.VisualStudio.Modeling.Validation
程序集: Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
语法
声明
Protected Overridable Function GetExtensionElements ( _
elementsToValidate As IEnumerable(Of ModelElement) _
) As IEnumerable(Of ExtensionElement)
protected virtual IEnumerable<ExtensionElement> GetExtensionElements(
IEnumerable<ModelElement> elementsToValidate
)
参数
- elementsToValidate
类型:System.Collections.Generic.IEnumerable<ModelElement>
要被验证传递给 Validate(...) 或 ValidateCustom(...) 方法的元素列表
返回值
类型:System.Collections.Generic.IEnumerable<ExtensionElement>
还应确认 ExtensionElements 列表
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。