 | PdfLocalizationManagerGetObject Method |
Safely retrieves a localized object resource (such as images, icons, or binary data) from the specified
ResourceManager for a given culture.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic static Object GetObject(
ResourceManager resMan,
string name,
CultureInfo resourceCulture
)
Public Shared Function GetObject (
resMan As ResourceManager,
name As String,
resourceCulture As CultureInfo
) As Object
public:
static Object^ GetObject(
ResourceManager^ resMan,
String^ name,
CultureInfo^ resourceCulture
)
static member GetObject :
resMan : ResourceManager *
name : string *
resourceCulture : CultureInfo -> Object public static Object GetObject(
ResourceManager resMan,
String name,
CultureInfo resourceCulture
)
Patagames.Pdf.Net.PdfLocalizationManager.GetObject = function(resMan, name, resourceCulture);
Parameters
- resMan ResourceManager
- The custom ResourceManager instance to query. Can be .
- name String
- The case-sensitive name of the object resource to locate.
- resourceCulture CultureInfo
- The CultureInfo representing the culture for which the resource is localized.
Return Value
Object
The localized object value if found;
if
resMan is
,
if the key does not exist, or if a
MissingManifestResourceException is raised due to assembly mismatch.
See Also