我想了解如何在 C# 中使用 Or 命令 (VB.NET)?
我有一个例子:
foundCommand = _applicationObject.Commands.AddNamedCommand(_addInInstance, name, name, caption, _
True, iconID, Nothing, vsCommandStatus.vsCommandStatusSupported Or vsCommandStatus.vsCommandStatusEnabled)
我想在 C# 中一起使用 vsCommandStatus.vsCommandStatusNotSupported 或 vsCommandStatus.vsCommandStatusEnabled 。