IVsResourceManager2.ParseResourceID Method

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

Syntax

'Declaration
Function ParseResourceID ( _
    szId As String, _
    lcid As UInteger, _
    <OutAttribute> ByRef pbstrUnadornedId As String, _
    <OutAttribute> ByRef pguidPackage As Guid, _
    <OutAttribute> ByRef pbstrDllPath As String _
) As Integer
int ParseResourceID(
    string szId,
    uint lcid,
    out string pbstrUnadornedId,
    out Guid pguidPackage,
    out string pbstrDllPath
)
int ParseResourceID(
    [InAttribute] String^ szId, 
    [InAttribute] unsigned int lcid, 
    [OutAttribute] String^% pbstrUnadornedId, 
    [OutAttribute] Guid% pguidPackage, 
    [OutAttribute] String^% pbstrDllPath
)
abstract ParseResourceID : 
        szId:string * 
        lcid:uint32 * 
        pbstrUnadornedId:string byref * 
        pguidPackage:Guid byref * 
        pbstrDllPath:string byref -> int 
function ParseResourceID(
    szId : String, 
    lcid : uint, 
    pbstrUnadornedId : String, 
    pguidPackage : Guid, 
    pbstrDllPath : String
) : int

Parameters

  • szId
    Type: System.String
    [in] String containing the ID of the resource.
  • pbstrUnadornedId
    Type: System.String%
    [out] The resource ID string.
  • pguidPackage
    Type: System.Guid%
    [out] The GUID for the resource.
  • pbstrDllPath
    Type: System.String%
    [out] The path to the resource in the DLL.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

If szID begins with a prefix character, this method sets pbstrUnadornedId to the portion to the left of the semicolon. If there is a semicolon, either pguidPackage or pbstrDllPath will be set to the portion to the right of the semicolon, depending on the type of ID string.

.NET Framework Security

See Also

Reference

IVsResourceManager2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace