Missing CommandBars.Item
-
13-11-2019 - |
문제
using Microsoft.VisualStudio.CommandBars;
In the following sample.
var applicationObject = (DTE2)application;
var allCommands = ((CommandBars)applicationObject.CommandBars);
Simple question: Why am I missing allComands.Item[]
?
해결책
Try using the indexer directly:
allCommands["..."]
제휴하지 않습니다 StackOverflow