title: Html.CheckBoxFor in VB Razor View
body: <p>I have this C# code in a Razor view:</p>
  
  <pre><code>@(Html.CheckBoxFor&lt;RazorSamplesWeb.Models.SamplesModel&gt;(i =&gt; i.IsActive))
  </code></pre>
  
  <p>I tried translating it to this:</p>
  
  <pre><code>@Code Html.CheckBoxFor(Of RazorSamplesWeb.Models.SamplesModel)(Function(i) i.IsActive)End Code
  </code></pre>
  
  <p>But it's complaining.  Why, and what is the right statement?</p>
  
  <p>Thanks.</p>