Skip to main content
A newer version of this page is available. .
All docs
V21.1

DataComponentBase.RenameParameter(String, String) Method

Renames the specified parameter to the newly specified name.

Namespace: DevExpress.DataAccess

Assembly: DevExpress.Data.v21.1.dll

NuGet Package: DevExpress.Data

Declaration

public void RenameParameter(
    string oldName,
    string newName
)

Parameters

Name Type Description
oldName String

The former parameter name.

newName String

The new parameter name.

Remarks

This method creates a new parameter with the specified name, and copies the value of the old parameter to the newly created parameter.

See Also