Share via


CodeGenerationUtilities.AddSerializationResourceStrings Method

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.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Sub AddSerializationResourceStrings ( _
    resourcedStrings As Dictionary(Of String, KeyValuePair(Of String, String)) _
)
public static void AddSerializationResourceStrings(
    Dictionary<string, KeyValuePair<string, string>> resourcedStrings
)
public:
static void AddSerializationResourceStrings(
    Dictionary<String^, KeyValuePair<String^, String^>>^ resourcedStrings
)
static member AddSerializationResourceStrings : 
        resourcedStrings:Dictionary<string, KeyValuePair<string, string>> -> unit
public static function AddSerializationResourceStrings(
    resourcedStrings : Dictionary<String, KeyValuePair<String, String>>
)

Parameters

  • resourcedStrings
    Type: Dictionary<String, KeyValuePair<String, String>>

    Storage for added strings.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace