问题描述
我在做多文化插件微软Word,Excel的
,其中我需要确定设置下的列表分隔符选项区域设置提供的值,我怎么能读取使用C#?
I'm making multi culture plugin for MS Word,Excelwhere I need to identify setting value provided in Regional Settings under "List Separator" Option, how can I read using C# ?
这列表分隔符后是被用于构建Excel公式,Word邮件合并包头等。
This List separator is later on being used to construct Excel formulas, word mail merge header, etc.
推荐答案
尝试使用 System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator
或 System.Globalization.CultureInfo.GetCultureInfo(EN-US ).TextInfo.ListSeparator
如果你看一个特定的文化信息。
Try using System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator
or System.Globalization.CultureInfo.GetCultureInfo("en-US").TextInfo.ListSeparator
if you look for a specific culture's information.
这篇关于如何阅读]清单隔板"从控制面板区域配置设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!