Here is the code :

I'm looking for a way to access arguments value by name.

The attribute is like this :

```
[AttributeUsage(AttributeTargets.Field)]
public class EDataAttrAttribute : Attribute {

    public EDataAttrAttribute(int GroupID, int MinimumPermissionToEdit, bool ForcePersianLetter = false) {
        this.GroupID = GroupID;
        this.MinimumPermissionToEdit = MinimumPermissionToEdit; 
    }

    public int GroupID { get; private set; }
    public int MinimumPermissionToEdit { get; private set; } 

}

```

---

```
public class EUser {
    [EDataAttr(1, 1)]
    public string FirstName;
}

```

---

```
                    var attr = typeof(T).GetField("FirstName").CustomAttributes.FirstOrDefault(a => a.AttributeType == typeof(EDataAttrAttribute));
                    int n = attr.ConstructorArguments.Count; // 2 !
                    int v = attr.NamedArguments.Count;       // 0 !

```

How to get MinimumPermissionToEdit value while you don't know index int.  

I know only it's named MinimumPermissionToEdit.