Missing CommandBars.Item
-
13-11-2019 - |
Vra
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[]
?
Oplossing
Try using the indexer directly:
allCommands["..."]
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow