Udostępnij za pośrednictwem


IRibbonUI.InvalidateControlMso Method

Used to invalidate a built-in control.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub InvalidateControlMso ( _
    ControlID As String _
)
'Usage
Dim instance As IRibbonUI
Dim ControlID As String

instance.InvalidateControlMso(ControlID)
void InvalidateControlMso(
    string ControlID
)

Parameters

  • ControlID
    Type: System.String

    Specified the identifier of the control that will be invalidated.

Remarks

Invalidating a control repaints the screen and causes any callback procedures associated with that control to run.

See Also

Reference

IRibbonUI Interface

IRibbonUI Members

Microsoft.Office.Core Namespace