IVsSyntheticTextClient.GetMarkerCommandInfo(IVsSyntheticRegion, Int32, String[], UInt32[]) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Retorna informações de comando de marcador.
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
Parâmetros
- pSynthReg
- IVsSyntheticRegion
no A região sintética de interesse.
- iItem
- Int32
no O comando de marcador a ser executado. (Consulte MarkerCommandValues)
- pbstrText
- String[]
fora [opcional para definir] O título para o comando.
- pcmdf
- UInt32[]
fora Sinalizadores de comando que indicam tais propriedades como visibilidade ou sendo habilitadas.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.
Comentários
Assinatura COM
De textmgr. idl:
HRESULT IVsSyntheticTextClient::GetMarkerCommandInfo(
[in] IVsSyntheticRegion *pSynthReg,
[in] long iItem,
[out, custom(uuid_IVsSyntheticTextClient, "optional")] BSTR * pbstrText,
[out] DWORD* pcmdf
);