ModelCollationComparer.Equals 方法 (IList<String>, IList<String>)
指示所提供的两个 string 类型列表是否相等。
命名空间: Microsoft.Data.Schema.SchemaModel
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Function Equals ( _
x As IList(Of String), _
y As IList(Of String) _
) As Boolean
public bool Equals(
IList<string> x,
IList<string> y
)
public:
virtual bool Equals(
IList<String^>^ x,
IList<String^>^ y
) sealed
abstract Equals :
x:IList<string> *
y:IList<string> -> bool
override Equals :
x:IList<string> *
y:IList<string> -> bool
public final function Equals(
x : IList<String>,
y : IList<String>
) : boolean
参数
- x
类型:System.Collections.Generic.IList<String>
一个类型为 string 的 IList<T>,表示源对象。
- y
类型:System.Collections.Generic.IList<String>
一个类型为 string 的 IList<T>,表示目标对象。
返回值
类型:System.Boolean
如果两个列表相等,则为 true;否则为 false。
实现
IEqualityComparer<T>.Equals(T, T)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。