Freigeben über


IVsStructuredFileIOHelper.LoadLocalizedString(UInt32, String) Method

Definition

Loads tokens found in persisted files that are to be loaded with localized strings.

public:
 int LoadLocalizedString(System::UInt32 ulStringID, System::String ^ % pbstr);
int LoadLocalizedString(unsigned int ulStringID, std::wstring const & & pbstr);
public int LoadLocalizedString (uint ulStringID, ref string pbstr);
abstract member LoadLocalizedString : uint32 * string -> int
Public Function LoadLocalizedString (ulStringID As UInteger, ByRef pbstr As String) As Integer

Parameters

ulStringID
UInt32

A string Identifier

pbstr
String

A pointer to a localized string.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsStructuredFileIOHelper::LoadLocalizedString(  
   ULONG ulStringID,   
   BSTR *pbstr  
   );  

Applies to