public void QueryStatus(string commandName, vsCommandStatusTextWanted neededText, ref vsCommandStatus status, ref object commandText) { if (null == m_plugin || null == m_commandRegistry) { return; } if (neededText != vsCommandStatusTextWanted.vsCommandStatusTextWantedNone) { return; } status = m_commandRegistry.Query(commandName); }