IVsCmdNameMapping::EnumNames Method (VSCMDNAMEOPTS, IEnumString^)
Visual Studio 2015
Returns an enumerator for the names in the project.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- grfOptions
-
Type:
Microsoft.VisualStudio.Shell.Interop::VSCMDNAMEOPTS
[in] Bit flags specifying what form of the macro name to retrieve. Values taken from the VSCMDNAMEOPTS enumeration.
- ppEnumString
-
Type:
Microsoft.VisualStudio.OLE.Interop::IEnumString^
[out] An IEnumString interface to iterate through the strings returned.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsCmdNameMapping::EnumNames(
[in] VSCMDNAMEOPTS grfOptions,
[out, retval] IEnumString **ppEnumString
);
Show: