ResHackerWrapperExtractResource Method
Extracts a resource from 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 ExtractResource(
string inputFilepath,
string outputFilepath,
ResourceType resourceType,
string resourceName,
int languageID = 0
)
Public Function ExtractResource (
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.ExtractResource(inputFilepath,
outputFilepath, resourceType, resourceName,
languageID)
public:
int ExtractResource(
String^ inputFilepath,
String^ outputFilepath,
ResourceType resourceType,
String^ resourceName,
int languageID = 0
)
member ExtractResource :
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 resource 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.ExtractResource("C:\File.exe", "C:\Icon.ico", 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.