Partager via


IVsStructuredFileIOHelper.LoadLocalizedString Method

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function LoadLocalizedString ( _
    ulStringID As UInteger, _
    ByRef pbstr As String _
) As Integer
'Utilisation
Dim instance As IVsStructuredFileIOHelper
Dim ulStringID As UInteger
Dim pbstr As String
Dim returnValue As Integer

returnValue = instance.LoadLocalizedString(ulStringID, _
    pbstr)
int LoadLocalizedString(
    uint ulStringID,
    ref string pbstr
)
int LoadLocalizedString(
    unsigned int ulStringID, 
    String^% pbstr
)
function LoadLocalizedString(
    ulStringID : uint, 
    pbstr : String
) : int

Parameters

Return Value

Type: System.Int32

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
   );

Permissions

See Also

Reference

IVsStructuredFileIOHelper Interface

IVsStructuredFileIOHelper Members

Microsoft.VisualStudio.Shell.Interop Namespace