IVsSyntheticTextClient::GetMarkerCommandInfo Method (IVsSyntheticRegion^, Int32, array<String^>^, array<UInt32>^)
Visual Studio 2015
Returns marker command information.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int GetMarkerCommandInfo( IVsSyntheticRegion^ pSynthReg, int iItem, array<String^>^ pbstrText, array<unsigned int>^ pcmdf )
Parameters
- pSynthReg
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsSyntheticRegion^
[in] The synthetic region of interest.
- iItem
-
Type:
System::Int32
[in] The marker command to execute. (see MarkerCommandValues)
- pbstrText
-
Type:
array<System::String^>^
[out] [optional to set] The title for command.
- pcmdf
-
Type:
array<System::UInt32>^
[out] Command flags indicating such properties as visibility or being enabled.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsSyntheticTextClient::GetMarkerCommandInfo( [in] IVsSyntheticRegion *pSynthReg, [in] long iItem, [out, custom(uuid_IVsSyntheticTextClient, "optional")] BSTR * pbstrText, [out] DWORD* pcmdf );
Show: