ResXResourceManagerGetMetaObject Method
Returns the value of the specified non-string metadata for the specified culture.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public Object? GetMetaObject(
string name,
CultureInfo? culture = null
)
Public Function GetMetaObject (
name As String,
Optional culture As CultureInfo = Nothing
) As Object
public:
virtual Object^ GetMetaObject(
String^ name,
CultureInfo^ culture = nullptr
) sealed
abstract GetMetaObject :
name : string *
?culture : CultureInfo
(* Defaults:
let _culture = defaultArg culture null
*)
-> Object
override GetMetaObject :
name : string *
?culture : CultureInfo
(* Defaults:
let _culture = defaultArg culture null
*)
-> Object
- name String
- The name of the metadata to retrieve.
- culture CultureInfo (Optional)
- An object that represents the culture for which the metadata should be returned.
If this value is , the CultureInfo object is obtained by using the CultureInfo.InvariantCulture property.
Unlike in case of GetObject method, no fallback is used if the metadata is not found in the specified culture. This parameter is optional.
Default value: .
Object
If
SafeMode is
, then the method returns a
ResXDataNode instance instead of the actual deserialized value.
Otherwise, returns the value of the metadata localized for the specified
culture, or
if
name cannot be found in a resource set.
IExpandoResourceManagerGetMetaObject(String, CultureInfo)