System.Attribute.Attribute.IsDefined C# (CSharp) Method

IsDefined() public static method

public static IsDefined ( Assembly element, Type attributeType, bool inherit ) : bool
element System.Reflection.Assembly
attributeType Type
inherit bool
return bool
		public static bool IsDefined (Assembly element, Type attributeType, bool inherit)
		{
			CheckParameters (element, attributeType);

			return element.IsDefined (attributeType, inherit);
		}

Same methods

Attribute.Attribute::IsDefined ( Assembly element, Type attributeType ) : bool
Attribute.Attribute::IsDefined ( MemberInfo element, Type attributeType ) : bool
Attribute.Attribute::IsDefined ( MemberInfo element, Type attributeType, bool inherit ) : bool
Attribute.Attribute::IsDefined ( Module element, Type attributeType ) : bool
Attribute.Attribute::IsDefined ( Module element, Type attributeType, bool inherit ) : bool
Attribute.Attribute::IsDefined ( ParameterInfo element, Type attributeType ) : bool
Attribute.Attribute::IsDefined ( ParameterInfo element, Type attributeType, bool inherit ) : bool