IVsSyntheticTextClient.GetMarkerCommandInfo Yöntem

Tanım

İşaret komut bilgilerini döndürür.

public:
 int GetMarkerCommandInfo(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, int iItem, cli::array <System::String ^> ^ pbstrText, cli::array <System::UInt32> ^ pcmdf);
public:
 int GetMarkerCommandInfo(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, int iItem, Platform::Array <Platform::String ^> ^ pbstrText, Platform::Array <unsigned int> ^ pcmdf);
int GetMarkerCommandInfo(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion const & pSynthReg, int iItem, std::Array <std::wstring const &> const & pbstrText, std::Array <unsigned int> const & pcmdf);
public int GetMarkerCommandInfo (Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion pSynthReg, int iItem, string[] pbstrText, uint[] pcmdf);
abstract member GetMarkerCommandInfo : Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion * int * string[] * uint32[] -> int
Public Function GetMarkerCommandInfo (pSynthReg As IVsSyntheticRegion, iItem As Integer, pbstrText As String(), pcmdf As UInteger()) As Integer

Parametreler

pSynthReg
IVsSyntheticRegion

'ndaki İlgilendiğiniz yapay bölge.

iItem
Int32

'ndaki Yürütülecek işaret komutu. (bkz. MarkerCommandValues )

pbstrText
String[]

dışı [ayarlamak için isteğe bağlı] Komut için başlık.

pcmdf
UInt32[]

dışı Bu tür özellikleri görünürlük veya etkin olarak belirten komut bayrakları.

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::GetMarkerCommandInfo(  
   [in] IVsSyntheticRegion *pSynthReg,  
   [in] long iItem,  
   [out, custom(uuid_IVsSyntheticTextClient, "optional")] BSTR * pbstrText,  
   [out] DWORD* pcmdf  
);  

Şunlara uygulanır