ParameterizedString.RenameParameter Method
Renames the specified parameter by using the given new name and returns the changed parameterized string.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Function RenameParameter ( _
parameterName As String, _
newName As String _
) As ParameterizedString
public ParameterizedString RenameParameter(
string parameterName,
string newName
)
public:
ParameterizedString^ RenameParameter(
String^ parameterName,
String^ newName
)
member RenameParameter :
parameterName:string *
newName:string -> ParameterizedString
public function RenameParameter(
parameterName : String,
newName : String
) : ParameterizedString
Parameters
parameterName
Type: StringThe name of the parameter to rename.
newName
Type: StringThe new name for the parameter.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ParameterizedString
The changed parameterized strings.
.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.