QuoteIdentifier(string) method

Returns the correct quoted form of an unquoted identifier, including properly escaping any embedded quotes in the identifier.

Visual Basic syntax

Public Overrides Function QuoteIdentifier (ByVal unquotedIdentifier As String) As String

C# syntax

public override string QuoteIdentifier (string unquotedIdentifier)

Parameters

Returns

Returns a string representing the quoted form of an unquoted identifier with embedded quotes properly escaped.