共用方式為


IVsInfoBarUIElement.Close Method

Definition

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

public:
 int Close();
public:
 int Close();
int Close();
public int Close ();
abstract member Close : unit -> int
Public Function Close () As Integer

Returns

S_OK if the operation succeeded, otherwise an error code.

Applies to