Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets or sets the IComparer<T> object with which to perform a comparison.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Property Comparer As IComparer(Of String)
Get
Set
protected IComparer<string> Comparer { get; set; }
protected:
property IComparer<String^>^ Comparer {
IComparer<String^>^ get ();
void set (IComparer<String^>^ value);
}
member Comparer : IComparer<string> with get, set
function get Comparer () : IComparer<String>
function set Comparer (value : IComparer<String>)
Property Value
Type: System.Collections.Generic.IComparer<String>
An IComparer<T> object instance.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The value to be set is nulla null reference (Nothing in Visual Basic). |
.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.
See Also
Reference
DataSourceVersionComparer Class