IVsShell2::LoadPackageStringWithLCID Method (Guid, UInt32, UInt32, String^)
Visual Studio 2015
Loads a localized string resource from a VSPackage satellite DLL.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int LoadPackageStringWithLCID( [InAttribute] Guid% guidPackage, unsigned int resid, unsigned int lcid, [OutAttribute] String^% pbstrOut )
Parameters
- guidPackage
-
Type:
System::Guid
[in] GUID of the VSPackage whose satellite DLL contains the string resource.
- resid
-
Type:
System::UInt32
[in] Specifies a resource ID of the string.
- lcid
-
Type:
System::UInt32
[in] Specifies the locale ID, LCID. For example, LCID = 1033 for English.
- pbstrOut
-
Type:
System::String^
[out] Pointer to the requested string.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsShell2::LoadPackageStringWithLCID( [in] REFGUID guidPackage, [in] ULONG resid, [in] LCID lcid, [out, retval] BSTR *pbstrOut );
Loads a resource string from the correct satellite DLL based on the LCID specified.
Show: