다음을 통해 공유


IVsToolsOptions.RefreshPageVisibility Method

Definition

Refreshes the visibility of the Tools Options dialog box.

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

Returns

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

Remarks

To associate a Tools Options node with the context of a command's user interface (UI), add a subkey, VisibilityCmdUIContexts, that contains entries whose names are the context GUIDs. It then becomes visible only if one or more of those contexts are active. This method evaluates the visibility of a Tools Options dialog box based on the currently active contexts.

Applies to