MethodInstance.GetReturnTypeDescriptor 方法 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

Gets the return type descriptor for this MethodInstance object.

命名空间: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Public Function GetReturnTypeDescriptor As TypeDescriptor
用法
Dim instance As MethodInstance
Dim returnValue As TypeDescriptor

returnValue = instance.GetReturnTypeDescriptor
public TypeDescriptor GetReturnTypeDescriptor ()

返回值

A TypeDescriptor object.

备注

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.

另请参阅

参考

MethodInstance 类
MethodInstance 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间