Share via


ITypeDescriptor.GetParentTypeDescriptor Method

Returns the type descriptor that contains this type descriptor.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function GetParentTypeDescriptor As ITypeDescriptor
'Usage
Dim instance As ITypeDescriptor
Dim returnValue As ITypeDescriptor

returnValue = instance.GetParentTypeDescriptor()
ITypeDescriptor GetParentTypeDescriptor()

Return Value

Type: Microsoft.BusinessData.MetadataModel.ITypeDescriptor
The parent type descriptor.

Exceptions

Exception Condition
MetadataObjectNotFoundException

This type descriptor represents the root of a data structure. This condition can be checked through the IsRoot method.

See Also

Reference

ITypeDescriptor Interface

ITypeDescriptor Members

Microsoft.BusinessData.MetadataModel Namespace