ModelSchema.GetParentElementClasses Method (Type)
Gets direct composed or hierarchical parent element metadata objects for a specified interface type.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetParentElementClasses ( _
interfaceType As Type _
) As IList(Of ModelElementClass)
public IList<ModelElementClass> GetParentElementClasses(
Type interfaceType
)
public:
IList<ModelElementClass^>^ GetParentElementClasses(
Type^ interfaceType
)
member GetParentElementClasses :
interfaceType:Type -> IList<ModelElementClass>
public function GetParentElementClasses(
interfaceType : Type
) : IList<ModelElementClass>
Parameters
- interfaceType
Type: System.Type
A Type that represents an interface.
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