title: How to access DisplayMember from within a method of the same class?
body: <p>I have a Class Data  which has a protomember ReportName defined with a slightly different display name so that the grid column headers are more meaningful . </p>
  
  <p>Now i am implementing IDataErrorInfo to this class to display an error message to the end user saying  'Report Name cannot be null' while saving . So how do i access the display member attribute of ReportName in a private method of the same class?</p>
  
  <pre><code>Class Data
  {        
       [ProtoMember(1), DefaultValue(null), DisplayName("Report Name")]
       public string ReportName { get; set; }
  
       //Check if the reportname was entered
       private void CheckReportName()
       {
       //code to check reportname and generate the errormessage containing the colheader to be sent to grid 
       }
  }
  </code></pre>
  
  <p>Ho</p>