Suhas  D

Suhas D

  • NA
  • 199
  • 23.2k

How to Access Enum value using its custom Attribute?

Aug 1 2014 3:14 PM

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)