Udostępnij za pośrednictwem


IVsMenuEditor.IsActive(Int32) Method

Definition

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);

Applies to