title: Retrieve custom attribute parameter values?
body: <p>if i have created an attribute:</p>
  
  <pre><code>public class TableAttribute : Attribute {
      public string HeaderText { get; set; }
  }
  </code></pre>
  
  <p>which i apply to a few of my properties in a class</p>
  
  <pre><code>public class Person {
      [Table(HeaderText="F. Name")]
      public string FirstName { get; set; }
  }
  </code></pre>
  
  <p>in my view i have a list of people which i am displaying in a table.. how can i retrieve the value of HeaderText to use as my column headers? Something like...</p>
  
  <pre><code>&lt;th&gt;&lt;%:HeaderText%&gt;&lt;/th&gt;
  </code></pre>