Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
vb.net を使用して WPF ウィンドウの .resx ファイルにある値にアクセスするにはどうすればよいですか。つまり、xaml からではありません。
申し訳ありませんが、私は答えを見つけました
答えは
Dim rm As System.Resources.ResourceManager = New System.Resources.ResourceManager("your class name", Reflection.Assembly.GetExecutingAssembly())
次に、次のように名前でリソースを取得できます。
rm.GetString("resource value name")