共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
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

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace