Condividi tramite


IVsCmdNameMapping Interface

Maps command names and GUIDs. Enables you to determine all commands and names. You can get an instance of this interface from the SVsCmdNameMapping (SID_SVsCmdNameMapping) service.

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

Syntax

'Declaration
<GuidAttribute("6D10BA00-9465-4F93-8B1D-11E36EE1FF65")> _
<InterfaceTypeAttribute()> _
Public Interface IVsCmdNameMapping
[GuidAttribute("6D10BA00-9465-4F93-8B1D-11E36EE1FF65")]
[InterfaceTypeAttribute()]
public interface IVsCmdNameMapping
[GuidAttribute(L"6D10BA00-9465-4F93-8B1D-11E36EE1FF65")]
[InterfaceTypeAttribute()]
public interface class IVsCmdNameMapping
[<GuidAttribute("6D10BA00-9465-4F93-8B1D-11E36EE1FF65")>]
[<InterfaceTypeAttribute()>]
type IVsCmdNameMapping =  interface end
public interface IVsCmdNameMapping

The IVsCmdNameMapping type exposes the following members.

Methods

  Name Description
Public method EnumMacroNames Returns an enumerator for the names of macros in the project.
Public method EnumNames Returns an enumerator for the names in the project.
Public method GetLastUpdated Returns the relative time the names in the project were last updated.
Public method MapGUIDIDToName Map the GUID and identifier of a command to its name.
Public method MapNameToGUIDID Maps the name of a command to the GUID of its group and its identifier.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace