IMethodInstance.GetReturnTypeDescriptor Method
Gets the type descriptor that corresponds to the structure returned by this method instance.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetReturnTypeDescriptor As ITypeDescriptor
'Usage
Dim instance As IMethodInstance
Dim returnValue As ITypeDescriptor
returnValue = instance.GetReturnTypeDescriptor()
ITypeDescriptor GetReturnTypeDescriptor()
Return Value
Type: Microsoft.BusinessData.MetadataModel.ITypeDescriptor
The return type descriptor of this method instance.
Exceptions
Exception | Condition |
---|---|
MetadataObjectNotFoundException | The MethodInstance does not have a return value. |