Share via


StringAssertAction.Comparison Property

Specifies whether a string comparison should use the current culture or the invariant culture, word or ordinal sort rules, and be case-sensitive or case-insensitive.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Property Comparison As StringComparison
public StringComparison Comparison { get; set; }
public:
property StringComparison Comparison {
    StringComparison get ();
    void set (StringComparison value);
}
member Comparison : StringComparison with get, set
function get Comparison () : StringComparison 
function set Comparison (value : StringComparison)

Property Value

Type: StringComparison
The comparison elements.

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

StringAssertAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged

StringComparison