System.Runtime.InteropServices.ComImportAttribute.GetCustomAttribute C# (CSharp) Méthode

GetCustomAttribute() static private méthode

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

            return new ComImportAttribute();
        }