IVsMenuEditor.IsActive(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the shared menu is displayed.
public:
int IsActive([Runtime::InteropServices::Out] int % pfActive);
int IsActive([Runtime::InteropServices::Out] int & pfActive);
public int IsActive (out int pfActive);
abstract member IsActive : int -> int
Public Function IsActive (ByRef pfActive As Integer) As Integer
Parameters
- pfActive
- Int32
[out, retval] true
if the shared menu is displayed, or false
if the shared menu is not displayed.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
C++
From vsshell.idl:
HRESULT IVsMenuEditor::IsActive([out, retval]BOOL *pfActive);