static private GetCustomAttribute ( ICustomAttributeProvider obj, |
||
obj | ICustomAttributeProvider | |
attributeType | ||
inherit | bool | |
Résultat |
public static Attribute GetCustomAttribute(MemberInfo element, Type attributeType, bool inherit) { // neither parameter is allowed to be null CheckParameters(element, attributeType); // MemberInfo inheritance hierarchies can be searched for attributes, so the second // parameter of GetCustomAttribute () is respected. return(MonoCustomAttrs.GetCustomAttribute(element, attributeType, inherit)); }