MethodInstance.GetReturnTypeDescriptor, méthode (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)
Gets the return type descriptor for this MethodInstance object.
Espace de noms : Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
Public Function GetReturnTypeDescriptor As TypeDescriptor
'Utilisation
Dim instance As MethodInstance
Dim returnValue As TypeDescriptor
returnValue = instance.GetReturnTypeDescriptor
public TypeDescriptor GetReturnTypeDescriptor ()
Valeur de retour
A TypeDescriptor object.
Remarques
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.
Voir aussi
Référence
MethodInstance, classe
Membres MethodInstance
Microsoft.Office.Server.ApplicationRegistry.MetadataModel, espace de noms