ResXResourceManagerRemoveObject Method

Removes a resource object from the current ResXResourceManager with the specified name for the specified culture.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public void RemoveObject(
	string name,
	CultureInfo? culture = null
)

Parameters

name  String
The case-sensitive name of the resource to remove.
culture  CultureInfo  (Optional)
The culture of the resource to remove. If this value is , the CultureInfo object is obtained by using the CultureInfo.CurrentUICulture property. This parameter is optional.
Default value: .

Implements

IExpandoResourceManagerRemoveObject(String, CultureInfo)

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.

Exceptions

See Also