DbCommandBuilder.GetParameterName 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.

Returns the name of the specified parameter in the format of @p#. Use when building a custom command builder.

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

protected abstract string GetParameterName(
	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 as part of the parameter name.

.NET Framework
Available since 2.0
Return to top