共用方式為


CodeGenerationUtilities.AddSerializationResourceStrings Method

Definition

Add resource strings used by generated serializers. The string added here are not localized, because they're used to generate resx file, which will be localized.

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)))

Parameters

resourcedStrings
Dictionary<String,KeyValuePair<String,String>>

Storage for added strings.

Applies to