InclusionExclusionList<T>.Comparator 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将此属性设置为替代,使用 Equals 方法比较两个 T 的
public:
property System::Collections::Generic::IComparer<T> ^ Comparator { System::Collections::Generic::IComparer<T> ^ get(); void set(System::Collections::Generic::IComparer<T> ^ value); };
public System.Collections.Generic.IComparer<T> Comparator { get; set; }
member this.Comparator : System.Collections.Generic.IComparer<'T> with get, set
Public Property Comparator As IComparer(Of T)
属性值
- IComparer<T>