共用方式為


Label.SetVisibleCore Method

Sets the Label to the specified visible state.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Protected Overrides Sub SetVisibleCore ( _
    value As Boolean _
)
protected override void SetVisibleCore(
    bool value
)

Parameters

Remarks

You would typically override this method to change the visibility behavior of the control.

Notes to Inheritors

When overriding SetVisibleCore in a derived class, be sure to call the base class's SetVisibleCore method to force the visibility of the control to change.

.NET Framework Security

See Also

Reference

Label Class

Microsoft.Office.Tools.Excel.Controls Namespace