KGy SOFT

HybridResourceManagerRemoveMetaObject Method

KGy SOFT Core Libraries Help
Removes a metadata object from the current HybridResourceManager with the specified name for the specified culture.

Namespace:  KGySoft.Resources
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

public virtual void RemoveMetaObject(
	string name,
	CultureInfo culture = null
)

Parameters

name
Type: SystemString
The case-sensitive name of the metadata to remove.
culture (Optional)
Type: System.GlobalizationCultureInfo
The culture of the metadata to remove. If this value is , the CultureInfo object is obtained by using the CultureInfo.InvariantCulture property. This parameter is optional.
Default value: .

Implements

IExpandoResourceManagerRemoveMetaObject(String, CultureInfo)
Exceptions

ExceptionCondition
ArgumentNullExceptionname is .
ObjectDisposedExceptionThe HybridResourceManager is already disposed.
InvalidOperationExceptionSource is CompiledOnly.
Remarks

name is considered as case-sensitive. If name occurs multiple times in the resource set in case-insensitive manner, they can be removed one by one only.
See Also

Reference