Share via


ParameterizedString.RenameParameter Method

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

'Declaration
Public Function RenameParameter ( _
    parameterName As String, _
    newName As String _
) As ParameterizedString
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 : String, 
    newName : String
) : ParameterizedString

Parameters

  • parameterName
    Type: String

    The name of the parameter to rename.

  • newName
    Type: String

    The new name for the parameter.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ParameterizedString
The changed parameterized strings.

.NET Framework Security

See Also

Reference

ParameterizedString Class

Microsoft.TeamFoundation.TestManagement.Client Namespace