DataSourceVersionComparer Constructor (IComparer<String>)
Initializes a new instance of the DataSourceVersionComparer class.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
comparer As IComparer(Of String) _
)
public DataSourceVersionComparer(
IComparer<string> comparer
)
public:
DataSourceVersionComparer(
IComparer<String^>^ comparer
)
new :
comparer:IComparer<string> -> DataSourceVersionComparer
public function DataSourceVersionComparer(
comparer : IComparer<String>
)
Parameters
- comparer
Type: System.Collections.Generic.IComparer<String>
An object instance of IComparer<T> to initialize this class with.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The comparer parameter 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