CodeGenerationUtilities.AddSerializationResourceStrings 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
添加生成的序列化程序所使用的资源字符串。 此处添加的字符串未本地化,因为它们用于生成 resx 文件,该文件将进行本地化。
public:
static void AddSerializationResourceStrings(System::Collections::Generic::Dictionary<System::String ^, System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ resourcedStrings);
public static void AddSerializationResourceStrings (System.Collections.Generic.Dictionary<string,System.Collections.Generic.KeyValuePair<string,string>> resourcedStrings);
static member AddSerializationResourceStrings : System.Collections.Generic.Dictionary<string, System.Collections.Generic.KeyValuePair<string, string>> -> unit
Public Shared Sub AddSerializationResourceStrings (resourcedStrings As Dictionary(Of String, KeyValuePair(Of String, String)))
参数
- resourcedStrings
- Dictionary<String,KeyValuePair<String,String>>
用于添加字符串的存储。