QuoteIdentifier Method

DbCommandBuilder.QuoteIdentifier Method (String)

 

Given an unquoted identifier in the correct catalog case, returns the correct quoted form of that identifier, including properly escaping any embedded quotes in the identifier.

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

Public Overridable Function QuoteIdentifier (
	unquotedIdentifier As String
) As String

Parameters

unquotedIdentifier
Type: System.String

The original unquoted identifier.

Return Value

Type: System.String

The quoted version of the identifier. Embedded quotes within the identifier are properly escaped.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft