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: StringThe name of the parameter to change. If no parameter has this name, the method does nothing.
toName
Type: StringThe new name for the parameter.
Remarks
If there is no parameter with the given "fromName" this method does nothing
.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.