title: C++/CLI: Change Property of a dynamically added control at Runtime
body: <p>I have seen it working with C# but not in Visual C++ 2015</p>
  
  <pre><code>System::Windows::Forms::Label^ mylabel= (gcnew System::Windows::Forms::Label());
  mylabel-&gt;Name = L"pole";
  mylabel-&gt;Text = "Hello";
  this-&gt;Controls-&gt;Add(mylabel);
  </code></pre>
  
  <p>Note that mylabel is a temporary variable here. 
  Now the code work for C#</p>
  
  <pre><code>Control cc = this.Controls.Find("pole", true).First();
  cc.text="New";
  </code></pre>
  
  <p>And I've tried this as there is no .First() or ->first(), </p>
  
  <pre><code>Control^ x = this-&gt;Controls-&gt;Find(L"pole", true);
  </code></pre>
  
  <p>and definitely an error shows</p>
  
  <pre><code>`cli::array&lt;System::Windows::Forms::Control ^, 1&gt; ^" cannot be used to initialize an entity of type "System::Windows::Forms::Control ^`"
  </code></pre>
  
  <p>How can I get that object as Control in runtime?</p>