EnumConverter.Comparer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an IComparer that can be used to sort the values of the enumeration.
protected:
virtual property System::Collections::IComparer ^ Comparer { System::Collections::IComparer ^ get(); };
protected virtual System.Collections.IComparer Comparer { get; }
member this.Comparer : System.Collections.IComparer
Protected Overridable ReadOnly Property Comparer As IComparer
Property Value
An IComparer for sorting the enumeration values.
Remarks
By default, the enumeration values are sorted in the order they appear in the file.
Notes to Inheritors
If you want to sort the values into a different order, override this property.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.