Seal.Forms.MultipleSelectForm.GetFieldProperty C# (CSharp) Méthode

GetFieldProperty() public static méthode

public static GetFieldProperty ( string fieldName, Type type ) : PropertyInfo
fieldName string
type System.Type
Résultat System.Reflection.PropertyInfo
        public static PropertyInfo GetFieldProperty(string fieldName, Type type)
        {
            return type.GetProperties().Where(i => i.Name == fieldName).FirstOrDefault();
        }