System.NonSerializedAttribute.GetCustomAttribute C# (CSharp) Méthode

GetCustomAttribute() static private méthode

static private GetCustomAttribute ( RuntimeFieldInfo field ) : Attribute
field RuntimeFieldInfo
Résultat Attribute
		internal static Attribute GetCustomAttribute(RuntimeFieldInfo field) 
        { 
            if ((field.Attributes & FieldAttributes.NotSerialized) == 0)
                return null;

            return new NonSerializedAttribute();
        }