TextBox.Parent Eigenschaft
Definition
public object Parent { get; }
Eigenschaftswert
Das übergeordnete Objekt für das TextBox-Objekt.The parent object for the TextBox.
Beispiele
Ein Codebeispiel, in dem veranschaulicht wird, wie diese Eigenschaft verwendet wird, finden Sie unter Microsoft.Office.Tools.Excel.Controls.Button.Parent .For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.Parent. Alle Steuerelemente im- Microsoft.Office.Tools.Excel.Controls Namespace verfügen über eine funktional äquivalente- Parent
Eigenschaft.All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Parent
property.
Hinweise
Das übergeordnete Element eines TextBox ist ein Container Steuerelement, das das TextBox mit dem Dokument verbindet, nicht das-Objekt, das Range enthält TextBox .The parent of a TextBox is a container control that connects the TextBox with the document, not the Range that contains the TextBox.
Auf das übergeordnete Element von TextBox kann nur als zugegriffen werden Object .The parent of a TextBox can only be accessed as an Object.