Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Loads a localized string resource from a VSPackage satellite DLL.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function LoadPackageStringWithLCID ( _
ByRef guidPackage As Guid, _
resid As UInteger, _
lcid As UInteger, _
<OutAttribute> ByRef pbstrOut As String _
) As Integer
int LoadPackageStringWithLCID(
ref Guid guidPackage,
uint resid,
uint lcid,
out string pbstrOut
)
int LoadPackageStringWithLCID(
[InAttribute] Guid% guidPackage,
[InAttribute] unsigned int resid,
[InAttribute] unsigned int lcid,
[OutAttribute] String^% pbstrOut
)
abstract LoadPackageStringWithLCID :
guidPackage:Guid byref *
resid:uint32 *
lcid:uint32 *
pbstrOut:string byref -> int
function LoadPackageStringWithLCID(
guidPackage : Guid,
resid : uint,
lcid : uint,
pbstrOut : String
) : int
Parameters
guidPackage
Type: Guid%[in] GUID of the VSPackage whose satellite DLL contains the string resource.
resid
Type: UInt32[in] Specifies a resource ID of the string.
lcid
Type: UInt32[in] Specifies the locale ID, LCID. For example, LCID = 1033 for English.
pbstrOut
Type: String%[out] Pointer to the requested string.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.
.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.