ResXResourceSetGetMetaString Method

Searches for a String metadata with the specified name.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public string? GetMetaString(
	string name,
	bool ignoreCase = false
)

Parameters

name  String
Name of the metadata to search for.
ignoreCase  Boolean  (Optional)
Indicates whether the case of the specified name should be ignored. This parameter is optional
Default value:

Return Value

String
The String value of a metadata. If SafeMode is , an InvalidOperationException will be thrown for non-string metadata. If SafeMode is , the raw XML value will be returned for non-string metadata.

Implements

IExpandoResourceSetGetMetaString(String, Boolean)

Exceptions

ArgumentNullExceptionname is .
ObjectDisposedExceptionThe ResXResourceSet is already disposed.
InvalidOperationExceptionSafeMode is and the type of the metadata is not String.

See Also