ModelingDocData.GetAllElementsForValidation 方法

定义

获取用于验证的所有元素。 基实现返回此 DocData 的存储中的所有元素。

public:
 virtual System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetAllElementsForValidation();
public virtual System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> GetAllElementsForValidation ();
abstract member GetAllElementsForValidation : unit -> seq<Microsoft.VisualStudio.Modeling.ModelElement>
override this.GetAllElementsForValidation : unit -> seq<Microsoft.VisualStudio.Modeling.ModelElement>
Public Overridable Function GetAllElementsForValidation () As IEnumerable(Of ModelElement)

返回

IEnumerable<ModelElement>

所有用于验证的元素,如果不存在,则为空集合。

适用于