ResXManagerReplaceResource(String, Object, String) Method
Replaces a resource by the specified name inside the .NET managed resource file.
Namespace: DevCase.Core.Application.ResourcesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual void ReplaceResource(
string name,
Object data,
string comment = ""
)
Public Overridable Sub ReplaceResource (
name As String,
data As Object,
Optional comment As String = ""
)
Dim instance As ResXManager
Dim name As String
Dim data As Object
Dim comment As String
instance.ReplaceResource(name, data, comment)
public:
virtual void ReplaceResource(
String^ name,
Object^ data,
String^ comment = L""
)
abstract ReplaceResource :
name : string *
data : Object *
?comment : string
(* Defaults:
let _comment = defaultArg comment ""
*)
-> unit
override ReplaceResource :
name : string *
data : Object *
?comment : string
(* Defaults:
let _comment = defaultArg comment ""
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- name String
-
The resource name.
- data Object
-
The resource data.
- comment String (Optional)
-
The resource comment.
FileNotFoundException
|
Resource file not found.
|
ArgumentException
|
A resource with the same name already exists in the table.;name
|