MethodInstance.GetReturnTypeDescriptor Method
Gets the return type descriptor for this MethodInstance object.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function GetReturnTypeDescriptor As TypeDescriptor
'Usage
Dim instance As MethodInstance
Dim returnValue As TypeDescriptor
returnValue = instance.GetReturnTypeDescriptor()
public TypeDescriptor GetReturnTypeDescriptor()
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor
A TypeDescriptor object.
Remarks
A MethodInstance is defined by identifying which Parameter in the Method is the one that the Business Data Catalog should look to for the information returned in the invocation. In addition, since some Methods may have complex Parameters, specifying the ReturnTypeDescriptor allows a MethodInstance to point deep inside a Parameter to flag only a portion of it for Business Data Catalog processing. See SampleWebService Metadata for a sample.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace