Retrieves or sets the IComparer object with which to perform a comparison.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
<CLSCompliantAttribute(False)> _
Protected Property Comparer As IComparer(Of String)
'使用
Dim value As IComparer(Of String)
value = Me.Comparer
Me.Comparer = value
[CLSCompliantAttribute(false)]
protected IComparer<string> Comparer { get; set; }
[CLSCompliantAttribute(false)]
protected:
property IComparer<String^>^ Comparer {
IComparer<String^>^ get ();
void set (IComparer<String^>^ value);
}
protected function get Comparer () : IComparer<String>
protected function set Comparer (value : IComparer<String>)
Property Value
Type: System.Collections.Generic.IComparer<String>
Returns an IComparer object instance.
Permissions
- 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.
See Also
Reference
DataSourceVersionComparer Class
DataSourceVersionComparer Members