public override void RemoveObject(
string name,
CultureInfo? culture = null
)
Public Overrides Sub RemoveObject (
name As String,
Optional culture As CultureInfo = Nothing
)
public:
virtual void RemoveObject(
String^ name,
CultureInfo^ culture = nullptr
) override
abstract RemoveObject :
name : string *
?culture : CultureInfo
(* Defaults:
let _culture = defaultArg culture null
*)
-> unit
override RemoveObject :
name : string *
?culture : CultureInfo
(* Defaults:
let _culture = defaultArg culture null
*)
-> unit
If there is a binary resource defined for name and culture, then after this call the originally defined value will be returned by GetObject method from the binary resources. If you want to force hiding the binary resource and make GetObject to default to the parent CultureInfo of the specified culture, then use the SetObject method with a value.
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.
ArgumentNullException | name is . |
ObjectDisposedException | The HybridResourceManager is already disposed. |
InvalidOperationException | Source is CompiledOnly. |