IVsCmdNameMapping.EnumMacroNames(VSCMDNAMEOPTS, IEnumString) Yöntem

Tanım

Projedeki makroların adları için bir Numaralandırıcı döndürür.

public:
 int EnumMacroNames(Microsoft::VisualStudio::Shell::Interop::VSCMDNAMEOPTS grfOptions, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IEnumString ^ % ppEnumString);
public:
 int EnumMacroNames(Microsoft::VisualStudio::Shell::Interop::VSCMDNAMEOPTS grfOptions, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IEnumString ^ &  ppEnumString);
int EnumMacroNames(Microsoft::VisualStudio::Shell::Interop::VSCMDNAMEOPTS grfOptions, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IEnumString const & & ppEnumString);
public int EnumMacroNames (Microsoft.VisualStudio.Shell.Interop.VSCMDNAMEOPTS grfOptions, out Microsoft.VisualStudio.OLE.Interop.IEnumString ppEnumString);
abstract member EnumMacroNames : Microsoft.VisualStudio.Shell.Interop.VSCMDNAMEOPTS * IEnumString -> int
Public Function EnumMacroNames (grfOptions As VSCMDNAMEOPTS, ByRef ppEnumString As IEnumString) As Integer

Parametreler

grfOptions
VSCMDNAMEOPTS

'ndaki Alınacak makro adının biçimini belirten bit bayrakları. VSCMDNAMEOPTSNumaralandırmadaki değerler.

ppEnumString
IEnumString

dışı IEnumString Döndürülen dizeleri yinelemek için bir arabirim.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Vsshell. IDL dosyasından:

HRESULT IVsCmdNameMapping::EnumMacroNames(  
   [in] VSCMDNAMEOPTS grfOptions,   
   [out, retval] IEnumString **ppEnumString  
);  

Şunlara uygulanır