SqlCeCommandBuilder.QuoteIdentifier Method

Returns the correct quoted form of the specified identifier.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public override string QuoteIdentifier(
	string unquotedIdentifier
)

Parameters

unquotedIdentifier
Type: System.String
The identifier for which to return the quoted form.

Return Value

Type: System.String
The quoted form of the identifier.

ExceptionCondition
ArgumentNullException

unquotedIdentifier is null.

Embedded quotes within the identifier are correctly escaped.

Show: