UtilNetCodeConverterTelerikCodeConvert Method

Converts source-codes between C# and Visual Basic.NET languages.

This feature is powered by Telerik's Code converter web service (http://converter.telerik.com/service.asmx).

Definition

Namespace: DevCase.Core.Diagnostics.CodeConversion
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string TelerikCodeConvert(
	TelerikCodeConverterMethod converterMethod,
	string sourceCode
)

Parameters

converterMethod  TelerikCodeConverterMethod
The conversion method, that is, VB.NET to C#, or C# to VB.NET.
sourceCode  String
The source-code to convert.

Return Value

String
The resulting source-code converted in the specified language by converterMethod.

Remarks

Example

This is a code example to convert C# code to VB.NET.
C#
No code example is currently available or this language may not be supported.

Exceptions

InvalidEnumArgumentException

See Also