ITestBase.ReplaceParameter Method
Finds all instances where the provided parameter is used in actions, deletes any iteration data for each instance, and replaces it by using the provided literal text.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Sub ReplaceParameter ( _
parameterName As String, _
text As String _
)
void ReplaceParameter(
string parameterName,
string text
)
void ReplaceParameter(
String^ parameterName,
String^ text
)
abstract ReplaceParameter :
parameterName:string *
text:string -> unit
function ReplaceParameter(
parameterName : String,
text : String
)
Parameters
- parameterName
Type: System.String
The name of the parameter to replace. If this name is empty, the method does nothing.
- text
Type: System.String
The text with which to replace the parameter reference. An empty string deletes the parameter reference from the actions.
.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.