IVsInfoBarUIElement::Close Method ()

Visual Studio 2015
 

Requests that the InfoBar close itself by raising its OnClosed event.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime (in Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll)

int Close()

Return Value

Type: System::Int32

S_OK if the operation succeeded, otherwise an error code.

Return to top
Show: