ValidationContext.GetNavigationProxyModelElements(ModelElement) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为传入的模型元素返回替代模型元素。 请注意, 查看 的表示模型元素 (s) (像素) 表示模型元素 (s,后者是在模型验证过程中报告的实际有问题模型元素的代理。
public:
virtual System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetNavigationProxyModelElements(Microsoft::VisualStudio::Modeling::ModelElement ^ fromElement);
public virtual System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> GetNavigationProxyModelElements (Microsoft.VisualStudio.Modeling.ModelElement fromElement);
abstract member GetNavigationProxyModelElements : Microsoft.VisualStudio.Modeling.ModelElement -> seq<Microsoft.VisualStudio.Modeling.ModelElement>
override this.GetNavigationProxyModelElements : Microsoft.VisualStudio.Modeling.ModelElement -> seq<Microsoft.VisualStudio.Modeling.ModelElement>
Public Overridable Function GetNavigationProxyModelElements (fromElement As ModelElement) As IEnumerable(Of ModelElement)
参数
- fromElement
- ModelElement
报告的问题模型元素
返回
所有代理元素的只读集合,这些元素表示传入的模型元素。