Share via


IVsResourceManager2 Interface

Parses a resource ID into its components.

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

Syntax

'Declaration
<GuidAttribute("2597DABC-BBA7-4758-9A33-8894157AD74A")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsResourceManager2
[GuidAttribute("2597DABC-BBA7-4758-9A33-8894157AD74A")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsResourceManager2
[GuidAttribute(L"2597DABC-BBA7-4758-9A33-8894157AD74A")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsResourceManager2
[<GuidAttribute("2597DABC-BBA7-4758-9A33-8894157AD74A")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsResourceManager2 =  interface end
public interface IVsResourceManager2

The IVsResourceManager2 type exposes the following members.

Methods

  Name Description
Public method AnnotateIDIfNecessary Creates an annotated resource ID.
Public method ParseResourceID

Top

Remarks

The resource ID may be an embedded package GIUD or a DLL path. The syntax is:

<prefix><resID>[;<source>]
  • prefix is "@" for managed resources or "#" for native resources.

  • resID is the name or numeric ID of the resource.

  • source is a package GUID (in curly braces) or a DLL path.

DLL paths may contain the tokens, "%lcid%" and "%lang%"; these are expanded to the numeric value of the current locale (for example "1033") and the primary language from the locale name (for example "en"), respectively. If 'lcid' is -1, the current thread locale will be used.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace