System.Runtime.InteropServices.ComImportAttribute.GetCustomAttribute C# (CSharp) Method

GetCustomAttribute() static private method

static private GetCustomAttribute ( RuntimeType type ) : Attribute
type RuntimeType
return Attribute
        internal static Attribute GetCustomAttribute(RuntimeType type) 
        { 
            if ((type.Attributes & TypeAttributes.Import) == 0)
                return null;

            return new ComImportAttribute();
        }