MethodBase.GetMethodBody Method
Namespace: System.Reflection.Mock
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public MustOverride Function GetMethodBody As MethodBody
'Usage
Dim instance As MethodBase
Dim returnValue As MethodBody
returnValue = instance.GetMethodBody()
public abstract MethodBody GetMethodBody()
public:
virtual MethodBody^ GetMethodBody() abstract
abstract GetMethodBody : unit -> MethodBody
public abstract function GetMethodBody() : MethodBody
Return Value
Type: System.Reflection.Mock.MethodBody
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.