Skip to content

Instantly share code, notes, and snippets.

@Benshi
Created September 22, 2025 03:04
Show Gist options
  • Select an option

  • Save Benshi/71da47a176b9fd63d09808c717c2a5b6 to your computer and use it in GitHub Desktop.

Select an option

Save Benshi/71da47a176b9fd63d09808c717c2a5b6 to your computer and use it in GitHub Desktop.
[wankuma103860]DTE.Properties の引数について

No103860 (nittd さん) 2025/09/20(Sat) 10:23:25

Dim props As EnvDTE.Properties
props = DTE.Properties("FontsAndColors", "TextEditor")
Dim prop As EnvDTE.Property = props.Item("FontsAndColorsItems")
Dim clritems As EnvDTE.FontsAndColorsItems = prop.Object

これで取得は出来たのですが、この場合はTextEditorのものであって、他のものが取得できません。 DTE.Propertiesの2つの引数(String)の一覧が載っている場所、もしくは取得方法はありますでしょうか。

image image image
  1. Extensions や EnvDTE Explorer を使う
image

参考リンク

image image image image
  1. EnvDTE API のリフレクション
  1. 英語圏フォーラム/Stack Overflow などで情報を探す
image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment