2
Answers

How to Access Enum value using its custom Attribute?

Ask a question
Suhas  D

Suhas D

10y
736
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