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
- 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.