CodeCarvings.Piczard
LoadDictionaryFromAssemblyXMLResource Method
See Also  Send Feedback
CodeCarvings.Piczard.Globalization Namespace > GlobalizationManager Class : LoadDictionaryFromAssemblyXMLResource Method

assembly
The Assembly containing the ResX resource to load.
xmlResourcePath
The case-sensitive name of the manifest resource being requested.
Loads a dictionary stored as assembly resource (XML ResX file).

Syntax

Visual Basic (Declaration)  
Public Shared Function LoadDictionaryFromAssemblyXMLResource( _
   ByVal assembly As Assembly, _
   ByVal xmlResourcePath As String _
) As Dictionary(Of String, String)
C#  
public static Dictionary<string, string> LoadDictionaryFromAssemblyXMLResource( 
   Assembly assembly,
   string xmlResourcePath
)

Parameters

assembly
The Assembly containing the ResX resource to load.
xmlResourcePath
The case-sensitive name of the manifest resource being requested.

Return Value

A Dictionary containing all the localized strings defined in the XML file.

Remarks

For more information about Resx File Format please see http://msdn.microsoft.com/en-us/library/ekyft91f(v=vs.71).aspx
For more information about manifest resources, see Microsoft .NET Framework Resource Basics in the MSDN Library.

Please see also:

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.