Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

IVsToolsOptions.RefreshPageVisibility Method

Refreshes the visibility of the Tools Options dialog box.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)

int RefreshPageVisibility ()
int RefreshPageVisibility ()
function RefreshPageVisibility () : int

Return Value

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

To associate a Tools Options node with the user interface (UI) context of a command, 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.

Community Additions

ADD
Show:
© 2015 Microsoft