IDataClass.GetMethodInstance Method

Gets the method instance with the specified name and stereotype.

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


Function GetMethodInstance ( _
    name As String, _
    stereotype As MethodInstanceType _
) As IMethodInstance
Dim instance As IDataClass
Dim name As String
Dim stereotype As MethodInstanceType
Dim returnValue As IMethodInstance

returnValue = instance.GetMethodInstance(name, _
IMethodInstance GetMethodInstance(
    string name,
    MethodInstanceType stereotype


Return Value

Type: Microsoft.BusinessData.MetadataModel.IMethodInstance
Returns IMethodInstance.
The method instance.


The following code example shows how to use GetLobSystem through the IEntity interface object, which is derived from IDataClass.

Code Snippet: Execute a Finder Method Instance of an External Content Type

Code Snippet: Set the Parameters Object Before Calling a GenericInvoker

See Also


IDataClass Interface

IDataClass Members

Microsoft.BusinessData.MetadataModel Namespace