IVsSyntheticTextClient::ExecMarkerCommand Method (IVsSyntheticRegion^, Int32)

 

Execute the specified marker command on the specified synthetic region.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int ExecMarkerCommand(
	IVsSyntheticRegion^ pSynthReg,
	int iItem
)

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.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

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