标签:window source for ext.get 读取 新建 .sql mod btree
ResourceContext resourceContext = ResourceContext.GetForViewIndependentUse(); ResourceMap resourceMap = Windows.ApplicationModel.Resources.Core.ResourceManager.Current.MainResourceMap.GetSubtree("my"); // Here you load the resource you need var resourceValue = resourceMap.GetValue("Sql4Test", resourceContext); d.sql = resourceValue.ValueAsString;
ps:[my]是新建的my.resw资源文件
标签:window source for ext.get 读取 新建 .sql mod btree
原文地址:http://www.cnblogs.com/poison/p/7532138.html