IVsSyntheticTextClient.ExecMarkerCommand(IVsSyntheticRegion, Int32) Yöntem

Tanım

Belirtilen yapay bölgede belirtilen işaret komutunu yürütün.

public:
 int ExecMarkerCommand(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, int iItem);
public:
 int ExecMarkerCommand(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, int iItem);
int ExecMarkerCommand(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion const & pSynthReg, int iItem);
public int ExecMarkerCommand (Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion pSynthReg, int iItem);
abstract member ExecMarkerCommand : Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion * int -> int
Public Function ExecMarkerCommand (pSynthReg As IVsSyntheticRegion, iItem As Integer) As Integer

Parametreler

pSynthReg
IVsSyntheticRegion

'ndaki İlgilendiğiniz yapay bölge.

iItem
Int32

'ndaki Yürütülecek işaret komutu. Bkz. MarkerCommandValues.

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ı

Textmgr. IDL dosyasından:

HRESULT IVsSyntheticTextClient::ExecMarkerCommand(  
   [in] IVsSyntheticRegion *pSynthReg,  
   [in] long iItem  
);  

Şunlara uygulanır