Share via


ITestBase.RenameParameter Method

Renames a parameter by using the provided parameter name and updates all actions that refer to the referenced parameter.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Sub RenameParameter ( _
    fromName As String, _
    toName As String _
)
void RenameParameter(
    string fromName,
    string toName
)
void RenameParameter(
    String^ fromName, 
    String^ toName
)
abstract RenameParameter : 
        fromName:string * 
        toName:string -> unit
function RenameParameter(
    fromName : String, 
    toName : String
)

Parameters

  • fromName
    Type: String

    The name of the parameter to change. If no parameter has this name, the method does nothing.

  • toName
    Type: String

    The new name for the parameter.

Remarks

If there is no parameter with the given "fromName" this method does nothing

.NET Framework Security

See Also

Reference

ITestBase Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace