Bagikan melalui


ModelStore.GetElements Method (ModelElementValidationStatus, Int32)

Returns a list of the elements that are determined by the count that has the given validation status.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Function GetElements ( _
    status As ModelElementValidationStatus, _
    count As Integer _
) As IList(Of IModelElement)
public IList<IModelElement> GetElements(
    ModelElementValidationStatus status,
    int count
)
public:
IList<IModelElement^>^ GetElements(
    ModelElementValidationStatus status, 
    int count
)
member GetElements : 
        status:ModelElementValidationStatus * 
        count:int -> IList<IModelElement> 
public function GetElements(
    status : ModelElementValidationStatus, 
    count : int
) : IList<IModelElement>

Parameters

  • count
    Type: System.Int32
    The number of elements that are asked.

Return Value

Type: System.Collections.Generic.IList<IModelElement>

.NET Framework Security

See Also

Reference

ModelStore Class

GetElements Overload

Microsoft.Data.Schema.SchemaModel Namespace