Returns the type of comparison that will be used to validate a value entered in a cell with a data validation rule.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public ComparisonType Comparison{ get; }
</pre></td></tr></table>
<p>Public ReadOnly Property Comparison() As ComparisonType</p>

For validation types where ComparisonType is not allowed, (List, Custom, and AnyValue) this method will throw an exception.