DynamicMethod.ToString Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Returns the signature of the method, represented as a string.
Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Overrides Function ToString As String
public override string ToString()
Return Value
Type: System.String
A string representing the method signature.
Remarks
The signature includes only types and the method name, if any. Parameter names are not included.
Examples
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
outputBlock.Text += String.Format("ToString: {0}", hello.ToString()) + "\n";
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also