Catrobat.IDE.Core.Utilities.Helpers.XElementExtensions.HasAttribute C# (CSharp) Méthode

HasAttribute() public static méthode

public static HasAttribute ( this element, string name ) : bool
element this
name string
Résultat bool
        public static bool HasAttribute(this XElement element, string name)
        {
            return element.Attribute(name) != null;
        }