ModelSchema.GetParentElementClasses Method (ModelElementClass)
Gets direct composed or hierarchical parents for a given element metadata object.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetParentElementClasses ( _
elementClass As ModelElementClass _
) As IList(Of ModelElementClass)
public IList<ModelElementClass> GetParentElementClasses(
ModelElementClass elementClass
)
public:
IList<ModelElementClass^>^ GetParentElementClasses(
ModelElementClass^ elementClass
)
member GetParentElementClasses :
elementClass:ModelElementClass -> IList<ModelElementClass>
public function GetParentElementClasses(
elementClass : ModelElementClass
) : IList<ModelElementClass>
Parameters
- elementClass
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
A ModelElementClass metadata object.
Return Value
Type: System.Collections.Generic.IList<ModelElementClass>
A list of parent element metadata objects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
GetParentElementClasses Overload