IExpandoResourceSetGetString Method
Searches for a
String resource with the specified
name.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
string? GetString(
string name,
bool ignoreCase = false
)
Function GetString (
name As String,
Optional ignoreCase As Boolean = false
) As String
String^ GetString(
String^ name,
bool ignoreCase = false
)
abstract GetString :
name : string *
?ignoreCase : bool
(* Defaults:
let _ignoreCase = defaultArg ignoreCase false
*)
-> string
- name String
- Name of the resource to search for.
- ignoreCase Boolean (Optional)
- Indicates whether the case of the specified name should be ignored.
String
The
String value of a resource.
If
SafeMode is
, then an
InvalidOperationException will be thrown for
non-string resources. If
SafeMode is
, then either the raw XML value (for resources from a .resx source)
or the string representation of the object (for resources from a compiled source) will be returned for non-string resources.