public override string? GetString(
string name,
CultureInfo? culture
)
Public Overrides Function GetString (
name As String,
culture As CultureInfo
) As String
public:
virtual String^ GetString(
String^ name,
CultureInfo^ culture
) override
abstract GetString :
name : string *
culture : CultureInfo -> string
override GetString :
name : string *
culture : CultureInfo -> string
If SafeMode is and name is a non-string resource, then instead of throwing an InvalidOperationException the method returns the underlying raw XML content of the resource.
String values are not duplicated in memory, regardless the value of the CloneValues property.
ArgumentNullException | name is . |
ObjectDisposedException | The ResXResourceManager is already disposed. |
InvalidOperationException | SafeMode is and the type of the resource 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. |