Microsoft.ResourceManagement.ObjectModel.RmAttributeName.CompareTo C# (CSharp) Méthode

CompareTo() public méthode

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
/// is not the same type as this instance. ///
public CompareTo ( object obj ) : int
obj object An object to compare with this instance.
Résultat int
        public int CompareTo(object obj)
        {
            return String.Compare(key, obj as String, StringComparison.InvariantCulture);
        }