Share via


ParameterizedString.ReplaceParameter Method (String, String)

 

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

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 As String,
    replacementText As String
) As ParameterizedString

Parameters

  • name
    Type: System.String

    The name of the parameter to replace the value.

  • replacementText
    Type: System.String

    The value to put in the parameter.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ParameterizedString

The changed parameterized string.

See Also

ParameterizedString Class
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top