XmlIgnore
bool b = type.GetProperty("MyProp") .GetCustomAttributes(false) .Any(a => a is XmlIgnoreAttribute);
typeof(string).GetProperty("Length").GetCustomAttributes(typeof(some attr))