IVsCmdNameMapping.EnumMacroNames Method

Returns an enumerator for the names of macros in the project.

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

Syntax

'Declaration
Function EnumMacroNames ( _
    grfOptions As VSCMDNAMEOPTS, _
    <OutAttribute> ByRef ppEnumString As IEnumString _
) As Integer
int EnumMacroNames(
    VSCMDNAMEOPTS grfOptions,
    out IEnumString ppEnumString
)
int EnumMacroNames(
    [InAttribute] VSCMDNAMEOPTS grfOptions, 
    [OutAttribute] IEnumString^% ppEnumString
)
abstract EnumMacroNames : 
        grfOptions:VSCMDNAMEOPTS * 
        ppEnumString:IEnumString byref -> int
function EnumMacroNames(
    grfOptions : VSCMDNAMEOPTS, 
    ppEnumString : IEnumString
) : int

Parameters

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 IVsCmdNameMapping::EnumMacroNames(
   [in] VSCMDNAMEOPTS grfOptions, 
   [out, retval] IEnumString **ppEnumString
);

.NET Framework Security

See Also

Reference

IVsCmdNameMapping Interface

Microsoft.VisualStudio.Shell.Interop Namespace