Share via


IVsResourceManager2.ParseResourceID Method

Definition

Parses a resource ID (which may contain an embedded package GUID or DLL path) into its components.

public:
 int ParseResourceID(System::String ^ szId, System::UInt32 lcid, [Runtime::InteropServices::Out] System::String ^ % pbstrUnadornedId, [Runtime::InteropServices::Out] Guid % pguidPackage, [Runtime::InteropServices::Out] System::String ^ % pbstrDllPath);
public int ParseResourceID (string szId, uint lcid, out string pbstrUnadornedId, out Guid pguidPackage, out string pbstrDllPath);
abstract member ParseResourceID : string * uint32 * string * Guid * string -> int
Public Function ParseResourceID (szId As String, lcid As UInteger, ByRef pbstrUnadornedId As String, ByRef pguidPackage As Guid, ByRef pbstrDllPath As String) As Integer

Parameters

szId
String

[in] String containing the ID of the resource.

lcid
UInt32

[in] The local ID for the resource.

pbstrUnadornedId
String

[out] The resource ID string.

pguidPackage
Guid

[out] The GUID for the resource.

pbstrDllPath
String

[out] The path to the resource in the DLL.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method is safe to access from any thread.

Applies to