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
- resourcedStrings
Type: System.Collections.Generic.Dictionary<String, KeyValuePair<String, String>>
Storage for added strings.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.