Share via


ParameterizedString.RenameParameter Method (String, String)

 

Renames the specified parameter by using the given new name and returns the changed parameterized string.

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

Syntax

public ParameterizedString RenameParameter(
    string parameterName,
    string newName
)
public:
ParameterizedString^ RenameParameter(
    String^ parameterName,
    String^ newName
)
member RenameParameter : 
        parameterName:string *
        newName:string -> ParameterizedString
Public Function RenameParameter (
    parameterName As String,
    newName As String
) As ParameterizedString

Parameters

  • parameterName
    Type: System.String

    The name of the parameter to rename.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ParameterizedString

The changed parameterized strings.

See Also

ParameterizedString Class
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top