2
Answers

How to Access Enum value using its custom Attribute?

Photo of Suhas  D

Suhas D

11y
1.2k
1

public enum Locations

{

   [Property ("job-view")]

   [Title ("analyics-job-view")]

   JobViewValue

}


I have value of "Property" Attribute i.e.
job-view

How to access enum value (JobViewValue) using "Property" attribute?


Answers (2)

Next Recommended Forum