WebTestCondition.ToString Method (String)
Returns a String that represents the current WebTestCondition based on the specified conditional rule text.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Overrides Function ToString ( _
conditionalRuleText As String _
) As String
public override string ToString(
string conditionalRuleText
)
public:
virtual String^ ToString(
String^ conditionalRuleText
) override
abstract ToString :
conditionalRuleText:string -> string
override ToString :
conditionalRuleText:string -> string
public override function ToString(
conditionalRuleText : String
) : String
Parameters
conditionalRuleText
Type: StringThe conditional rule text to return, or the DisplayName if conditionalRuleText is null.
Return Value
Type: String
A String that represents the current WebTestCondition.
.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.