DynamicMethod.ToString Method

July 28, 2014

Returns the signature of the method, represented as a string.

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Overrides Function ToString As String

Return Value

Type: System.String
A string representing the method signature.

The signature includes only types and the method name, if any. Parameter names are not included.

The following code example displays the ToString method of a dynamic method. This code example is part of a larger example provided for the DynamicMethod class.


outputBlock.Text &= "ToString: " & hello.ToString() & vbLf


Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft