本文為機器翻譯文章。如需檢視英文版,請選取 [原文] 核取方塊。您也可以將滑鼠指標移到文字上,即可在快顯視窗顯示英文原文。
譯文
原文

Label.Parent 屬性

 

取得 Label 的父物件。

命名空間:   Microsoft.Office.Tools.Excel.Controls
組件:  Microsoft.Office.Tools.Excel.v4.0.Utilities (在 Microsoft.Office.Tools.Excel.v4.0.Utilities.dll 中)

[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
public object Parent { get; }

屬性值

Type: System.Object

Label 的父物件。

The parent of a Label is a container control that connects the Label with the document, not the Range that contains the Label.

The parent of a Label can only be accessed as an Object.

For a code example that demonstrates how to use this property, see Button.Parent.All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Parent property.

回到頁首
顯示: