title: How can I assign a property value using 'With {...}' syntax?
body: <p>In the new Sub New , I want to Insert value of property</p>
  
  <p>Ex:
  1-Class</p>
  
  <pre><code>Public Class A
  
      Property Name As String
  
      Sub New()
  
          MsgBox(Name)   'Empty
  
      End Sub
  
  End Class
  </code></pre>
  
  <p>2- Form</p>
  
  <pre><code>    Dim a As New A With {.Name = "ABCDE"}  'MsgBox Empty
  </code></pre>