MSDN Library
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

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:
© 2016 Microsoft