System.Reflection.CustomAttributeData.GetCustomAttributes C# (CSharp) Method

GetCustomAttributes() public static method

public static GetCustomAttributes ( Assembly target ) : IList
target Assembly
return IList
        public static IList<CustomAttributeData> GetCustomAttributes(Assembly target)
        {
            if (target == null)
                throw new ArgumentNullException("target");

            return GetCustomAttributes(target.ManifestModule, target.AssemblyHandle.GetToken());
        }

Same methods

CustomAttributeData::GetCustomAttributes ( MemberInfo target ) : IList
CustomAttributeData::GetCustomAttributes ( Module target ) : IList
CustomAttributeData::GetCustomAttributes ( Module module, int tkTarget ) : IList
CustomAttributeData::GetCustomAttributes ( ParameterInfo target ) : IList

Usage Example

Esempio n. 1
0
 public override IList <CustomAttributeData> GetCustomAttributesData()
 {
     return(CustomAttributeData.GetCustomAttributes(this));
 }
All Usage Examples Of System.Reflection.CustomAttributeData::GetCustomAttributes