DbCommandBuilder.GetParameterPlaceholder Method (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 abstract string GetParameterPlaceholder(
	int parameterOrdinal


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