Pregunta

utilizando Microsoft.VisualStudio.comMandBars;

en la siguiente muestra.

var applicationObject = (DTE2)application;
var allCommands = ((CommandBars)applicationObject.CommandBars);

Pregunta simple: ¿Por qué me faltan allComands.Item[]?

¿Fue útil?

Solución

Intenta usar el indexador directamente:

allCommands["..."]

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top