We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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)

public StringComparison Comparison { get; set; }

Property Value

Type: System.StringComparison
The comparison elements.

Setting this property raises the PropertyChanged event.

Show: