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: String

    The 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

See Also

Reference

WebTestCondition Class

ToString Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace