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: System.String
The name of the parameter to change. If no parameter has this name, the method does nothing.
- toName
Type: System.String
The new name for the parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.