IExpandoResourceSetRemoveObject Method

Removes a resource object from the current IExpandoResourceSet with the specified name. If this IExpandoResourceSet represents a hybrid resource set, then the original value of name will be restored (if existed).

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
void RemoveObject(
	string name
)

Parameters

name  String
Name of the resource value to remove. Name is treated case sensitive.

Remarks

If this IExpandoResourceSet instance is a hybrid resource set, and there is a binary resource defined for name, then after this call the originally defined value will be returned by GetObject method. If you want to force GetObject to return always for this resource set, then use the SetObject method with a value

Exceptions

See Also