次の方法で共有


IVsSyntheticTextClient.ExecMarkerCommand(IVsSyntheticRegion, Int32) Method

Definition

Execute the specified marker command on the specified synthetic region.

public:
 int ExecMarkerCommand(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, int iItem);
public:
 int ExecMarkerCommand(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion ^ pSynthReg, int iItem);
int ExecMarkerCommand(Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticRegion const & pSynthReg, int iItem);
public int ExecMarkerCommand (Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion pSynthReg, int iItem);
abstract member ExecMarkerCommand : Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion * int -> int
Public Function ExecMarkerCommand (pSynthReg As IVsSyntheticRegion, iItem As Integer) As Integer

Parameters

pSynthReg
IVsSyntheticRegion

[in] The synthetic region of interest.

iItem
Int32

[in] The marker command to execute. See MarkerCommandValues.

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::ExecMarkerCommand(  
   [in] IVsSyntheticRegion *pSynthReg,  
   [in] long iItem  
);  

Applies to