有没有办法从C#CultureInfo获取标志图像? [英] Is there a way to get a flag image from a C# CultureInfo?

查看:52
本文介绍了有没有办法从C#CultureInfo获取标志图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有一个CultureInfo实例,是否有任何简单的方法—内置,通过框架或通过操作系统—获得匹配该文化的匹配标志"图标?这样可以避免创建单独的查找.

If I have a CultureInfo instance, is there any simple way — built-in, through a framework or via the OS — to obtain a matching "flag" icon matching that culture? This would avoid having to create a separate lookup.

I couldn't find a member function to do the job in the documentation for CultureInfo, but perhaps there is some other not-too-taxing approach that involves other .NET classes that I haven't found.

推荐答案

否.通过.NET框架或Windows操作系统,没有简单的内置方法来获取给定CultureInfo实例的匹配标志"图标.

No. There is no simple, built-in way, through the .NET framework or the Windows operating system, to obtain a matching "flag" icon for a given CultureInfo instance.

这篇关于有没有办法从C#CultureInfo获取标志图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆