Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public override string ToString()

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 += String.Format("ToString: {0}", hello.ToString()) + "\n";


Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft