{"id":100205,"date":"2016-04-29T13:58:50","date_gmt":"2016-04-29T05:58:50","guid":{"rendered":"http:\/\/www.ilzhi.cn\/?p=100205"},"modified":"2017-02-18T21:17:29","modified_gmt":"2017-02-18T13:17:29","slug":"%e4%bd%bf%e7%94%a8%e5%be%ae%e8%bd%af%e8%af%ad%e8%a8%80%e5%8c%85%e5%ae%9e%e7%8e%b0%e6%b1%89%e5%ad%97%ef%bc%88%e8%bf%98%e5%85%b6%e4%bb%96%e9%9d%9e%e6%b1%89%e5%ad%97%e5%ad%97%e7%ac%a6%ef%bc%89%e8%bd%ac","status":"publish","type":"post","link":"http:\/\/www.ilezhi.cn\/?p=100205","title":{"rendered":"\u4f7f\u7528\u5fae\u8f6f\u8bed\u8a00\u5305\u5b9e\u73b0\u6c49\u5b57\uff08\u8fd8\u5176\u4ed6\u975e\u6c49\u5b57\u5b57\u7b26\uff09\u8f6c\u62fc\u97f3"},"content":{"rendered":"<blockquote><p>\u5fae\u8f6f\u5b98\u65b9\u8bed\u8a00\u5305\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"http:\/\/www.microsoft.com\/downloads\/zh-cn\/details.aspx?FamilyID=44cac7f0-633b-477d-aed2-99aee642fc10&amp;DisplayLang=zh-cn\">http:\/\/www.microsoft.com\/downloads\/zh-cn\/details.aspx?FamilyID=44cac7f0-633b-477d-aed2-99aee642fc10&amp;DisplayLang=zh-cn<\/a><\/p>\n<p>\u5907\u4efd\u4e0b\u8f7d\u5730\u5740\uff1a\u94fe\u63a5: http:\/\/pan.baidu.com\/s\/1dF4oTfr \u5bc6\u7801: dx4h<\/p><\/blockquote>\n<p>\u4f7f\u7528\u65b9\u6cd5\uff1a\u5b8c\u6210\u4e4b\u540e\u5728\u9879\u76ee\u4e2d\u5f15\u7528\u5b89\u88c5\u76ee\u5f55\u4e2d\u7684ChnCharInfo.dll\u5373\u53ef<\/p>\n<p>\u5b9e\u73b0\u6c49\u5b57\u8f6c\u62fc\u97f3demo\uff08\u539f\u521b\uff09<\/p>\n<pre class=\"lang:vbnet decode:true \" title=\"\u6c49\u5b57\u8f6c\u62fc\u97f3\">Imports Microsoft.International.Converters.PinYinConverter\r\nModule Demo\r\nPublic Enum \u62fc\u97f3\u683c\u5f0f\r\n        \u9996\u5b57\u6bcd = 0\r\n        \u5168\u62fc = 1\r\n    End Enum\r\n\r\n    Public Function \u83b7\u53d6\u62fc\u97f3\u7801(ByVal inputText As String, Optional \u62fc\u97f3\u683c\u5f0f As \u62fc\u97f3\u683c\u5f0f = \u62fc\u97f3\u683c\u5f0f.\u9996\u5b57\u6bcd) As String\r\n        if inputText is Nothing or inputText=\"\" then \r\n            return Nothing\r\n        end if\r\n        Dim PY As String = \"\"\r\n        For Each Cha In inputText.Trim()\r\n            Try\r\n                Dim chinesechar As ChineseChar = New ChineseChar(Cha)\r\n                Select Case \u62fc\u97f3\u683c\u5f0f\r\n                    Case \u62fc\u97f3\u683c\u5f0f.\u9996\u5b57\u6bcd\r\n                        PY += chinesechar.Pinyins(0).Substring(0, 1).ToLower\r\n                    Case \u62fc\u97f3\u683c\u5f0f.\u5168\u62fc\r\n                        PY += chinesechar.Pinyins(0).ToLower\r\n                End Select\r\n            Catch ex As System.NotSupportedException\r\n                PY += Cha         \u2018\u9047\u5230\u975e\u4e2d\u6587\u5b57\u7b26\uff0c\u76f4\u63a5\u539f\u6837\u8fd4\u56de\r\n            Catch ex As Exception\r\n                MsgBox(ex.Message)\r\n            End Try\r\n        Next\r\n        Return PY\r\nEnd Function\r\nEnd Module\r\n<\/pre>\n<blockquote><p>\u591a\u97f3\u5b57\u4e0d\u77e5\u5982\u4f55\u5904\u7406\uff0c\u6bd4\u5982\uff1a\u8e72\uff08d\u016bn\u3001c\u00fan\u00a0\uff09\u7684\u7ed3\u679c\u4e3ac\u00fan<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u5fae\u8f6f\u5b98\u65b9\u8bed\u8a00\u5305\u4e0b\u8f7d\u5730\u5740\uff1ahttp:\/\/www.microsoft.com\/downloads\/zh-cn\/de &hellip; <a href=\"http:\/\/www.ilezhi.cn\/?p=100205\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u4f7f\u7528\u5fae\u8f6f\u8bed\u8a00\u5305\u5b9e\u73b0\u6c49\u5b57\uff08\u8fd8\u5176\u4ed6\u975e\u6c49\u5b57\u5b57\u7b26\uff09\u8f6c\u62fc\u97f3<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[66,24,64,45,63,62,30,29],"class_list":["post-100205","post","type-post","status-publish","format-standard","hentry","category-original","tag-microsoft","tag-vb-net","tag-visual-studio","tag-45","tag-63","tag-62","tag-30","tag-29"],"_links":{"self":[{"href":"http:\/\/www.ilezhi.cn\/index.php?rest_route=\/wp\/v2\/posts\/100205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ilezhi.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ilezhi.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ilezhi.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ilezhi.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=100205"}],"version-history":[{"count":0,"href":"http:\/\/www.ilezhi.cn\/index.php?rest_route=\/wp\/v2\/posts\/100205\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.ilezhi.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=100205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ilezhi.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=100205"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ilezhi.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=100205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}