Get Languages chosen for publish in publish:end event

隐身守侯 提交于 2019-12-12 14:29:01

问题


I made an event handler for the publish:end event - I'm able to get which item is being published - how do I get the languages the user chose in the publish options?


回答1:


Figured this out - actually the publish:end event hits once for every language - and you get get the language that is being published by doing EventArgs[0].Options.Language



来源:https://stackoverflow.com/questions/12698876/get-languages-chosen-for-publish-in-publishend-event

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!