ResHackerWrapperRemoveResource Method
Removes a resource in the specified file.
Namespace: DevCase.ThirdParty.ResHackerAssembly: DevCase.net48.ThirdParty.ResHacker (in DevCase.net48.ThirdParty.ResHacker.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public int RemoveResource(
string inputFilepath,
string outputFilepath,
ResourceType resourceType,
string resourceName,
int languageID = 0
)
Public Function RemoveResource (
inputFilepath As String,
outputFilepath As String,
resourceType As ResourceType,
resourceName As String,
Optional languageID As Integer = 0
) As Integer
Dim instance As ResHackerWrapper
Dim inputFilepath As String
Dim outputFilepath As String
Dim resourceType As ResourceType
Dim resourceName As String
Dim languageID As Integer
Dim returnValue As Integer
returnValue = instance.RemoveResource(inputFilepath,
outputFilepath, resourceType, resourceName,
languageID)
public:
int RemoveResource(
String^ inputFilepath,
String^ outputFilepath,
ResourceType resourceType,
String^ resourceName,
int languageID = 0
)
member RemoveResource :
inputFilepath : string *
outputFilepath : string *
resourceType : ResourceType *
resourceName : string *
?languageID : int
(* Defaults:
let _languageID = defaultArg languageID 0
*)
-> int
No code example is currently available or this language may not be supported.
- inputFilepath String
-
The source file path.
- outputFilepath String
-
The target file path.
- resourceType ResourceType
-
The resource type.
- resourceName String
-
The resource name.
- languageID Int32 (Optional)
-
The resource language Id.
Int32
The process exit code.
This is a code example.
No code example is currently available or this language may not be supported.
Dim exitcode As Integer = ResHacker.RemoveResource("C:\File.exe", "C:\New File.exe", ResourceType.ICON, "MAINICON", 0)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.