ParameterizedString.ReplaceParameter Method
Replaces the specified parameter value by using the given replacement text.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Function ReplaceParameter ( _
name As String, _
replacementText As String _
) As ParameterizedString
public ParameterizedString ReplaceParameter(
string name,
string replacementText
)
public:
ParameterizedString^ ReplaceParameter(
String^ name,
String^ replacementText
)
member ReplaceParameter :
name:string *
replacementText:string -> ParameterizedString
public function ReplaceParameter(
name : String,
replacementText : String
) : ParameterizedString
Parameters
name
Type: StringThe name of the parameter to replace the value.
replacementText
Type: StringThe value to put in the parameter.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ParameterizedString
The changed parameterized string.
.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.