public virtual string? GetMetaString(
string name,
CultureInfo? culture = null
)Public Overridable Function GetMetaString (
name As String,
Optional culture As CultureInfo = Nothing
) As Stringpublic:
virtual String^ GetMetaString(
String^ name,
CultureInfo^ culture = nullptr
)abstract GetMetaString :
name : string *
?culture : CultureInfo
(* Defaults:
let _culture = defaultArg culture null
*)
-> string
override GetMetaString :
name : string *
?culture : CultureInfo
(* Defaults:
let _culture = defaultArg culture null
*)
-> string If SafeMode is and name is a non-string metadata, then instead of throwing an InvalidOperationException the method returns the underlying raw XML content of the metadata.
| ArgumentNullException | name is . |
| ObjectDisposedException | The HybridResourceManager is already disposed. |
| InvalidOperationException | SafeMode is and the type of the metadata is not String. |
| MissingManifestResourceException | No usable set of localized resources has been found, and there are no default culture resources. For information about how to handle this exception, see the notes under Instantiating a ResXResourceManager object section of the description of the ResXResourceManager class. |