|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
Control.EnsureChildControls Método
Assembly: System.Web (em System.Web. dll)
Observação de segurança: |
|---|
Value {
{
.EnsureChildControls();
Int32.Parse(((TextBox)Controls[1]).Text);
}
{
.EnsureChildControls();
((TextBox)Controls[1]).Text = value.ToString();
}
}
// Ensure the current control has children,
// then get or set the Text property.
/** @property
*/
public int get_Value()
{
this.EnsureChildControls();
return Int32.Parse(((TextBox)(get_Controls().get_Item(1))).get_Text());
} //get_Value
/** @property
*/
public void set_Value(int value)
{
this.EnsureChildControls();
((TextBox)get_Controls().get_Item(1)).set_Text(((Int32)value).ToString());
} //set_Value
// Ensure the current control has children, // then get or set the Text property. public function get Value() : int { this.EnsureChildControls(); return Int32.Parse(TextBox(Controls[1]).Text); } public function set Value(value : int) { this.EnsureChildControls(); TextBox(Controls[1]).Text = value.ToString(); }
Observação de segurança: