Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Function LoadLocalizedString ( _
ulStringID As UInteger, _
ByRef pbstr As String _
) As Integer
int LoadLocalizedString(
uint ulStringID,
ref string pbstr
)
int LoadLocalizedString(
unsigned int ulStringID,
String^% pbstr
)
abstract LoadLocalizedString :
ulStringID:uint32 *
pbstr:string byref -> int
function LoadLocalizedString(
ulStringID : uint,
pbstr : String
) : int
Parameters
- ulStringID
Type: System.UInt32
A string Identifier
- pbstr
Type: System.String%
A pointer to a localized string.
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.