次の方法で共有


IVsStatusbarUser.SetInfo Method

Definition

Sets the information in the status bar to reflect this status bar user.

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method is called when the window associated with this status bar user becomes active. This method then sets the various parts of the status bar to reflect the current conditions of this status bar user by calling the respective methods of the IVsStatusbar interface, such as SetTextSetLineColChar and SetInsMode.

Applies to