title: Return current URL of a List in itemAdding Event Receiver?
body: <p>In an <code>ItemAdding</code> Event Receiver I want to return the full URL of the current <code>List</code> using c#. How do I do this?</p>
  
  <p>I have tried:</p>
  
  <pre><code>string currentURL = SPContext.Current.File.Url;
  </code></pre>
  
  <p>This however returns <strong>"Object reference not set to an instance of an object"</strong> at runtime.</p>
  
  <p>Basically looking for guidance on what I need to do to return the current URL in this Event Receiver?</p>
  
  <p>Thanks</p>