GetParameterPlaceholder Method

DbCommandBuilder.GetParameterPlaceholder Method (Int32)


This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the placeholder for the parameter in the associated SQL statement.

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

Protected MustOverride Function GetParameterPlaceholder (
	parameterOrdinal As Integer
) As String


Type: System.Int32

The number to be included as part of the parameter's name.

Return Value

Type: System.String

The name of the parameter with the specified number appended.

This method is intended for use by provider writers building a custom command builder.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft