QuoteIdentifier method

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

Syntax
Visual Basic

Public Overrides Function QuoteIdentifier( _
   ByVal unquotedIdentifier As String _
) As String
C#

public override string  QuoteIdentifier(
   string  unquotedIdentifier
);
Parameters
  • unquotedIdentifier   The string representing the unquoted identifier that will have be quoted.

Return value

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

See also