IVsResourceManager.LoadResourceString(Guid, Int32, String, String) Method

Definition

Loads the resource string into the specified package.

public:
 int LoadResourceString(Guid % guidPackage, int culture, System::String ^ pszResourceName, [Runtime::InteropServices::Out] System::String ^ % pbstrValue);
public int LoadResourceString (ref Guid guidPackage, int culture, string pszResourceName, out string pbstrValue);
abstract member LoadResourceString : Guid * int * string * string -> int
Public Function LoadResourceString (ByRef guidPackage As Guid, culture As Integer, pszResourceName As String, ByRef pbstrValue As String) As Integer

Parameters

guidPackage
Guid

[in] Guid of the package into which the string will be loaded.

culture
Int32

[in] A LCID value specifying the culture for which the string is valid. Supplying a value of 0 will select the LCID that the user selected when the application was started.

pszResourceName
String

[in] The name of the resource.

pbstrValue
String

[out, retval] Pointer to the resource.

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