EscapeString Method

MySQL Connector/Net

Escapes the string.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 6.2.2.0

Syntax

C#
public static string EscapeString(
	string value
)
Visual Basic (Declaration)
Public Shared Function EscapeString ( _
	value As String _
) As String
Visual C++
public:
static String^ EscapeString(
	String^ value
)

Parameters

value
Type: System..::.String
The string to escape

Return Value

The string with all quotes escaped.

See Also