IVsSyntheticTextClient.GetMarkerCommandInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns marker command information.
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
Parameters
- pSynthReg
- IVsSyntheticRegion
[in] The synthetic region of interest.
- iItem
- Int32
[in] The marker command to execute. (see MarkerCommandValues)
- pbstrText
- String[]
[out] [optional to set] The title for command.
- pcmdf
- UInt32[]
[out] Command flags indicating such properties as visibility or being enabled.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSyntheticTextClient::GetMarkerCommandInfo(
[in] IVsSyntheticRegion *pSynthReg,
[in] long iItem,
[out, custom(uuid_IVsSyntheticTextClient, "optional")] BSTR * pbstrText,
[out] DWORD* pcmdf
);