IVsSyntheticTextClient.ExecMarkerCommand Method

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)

Syntax

声明
Function ExecMarkerCommand ( _
    pSynthReg As IVsSyntheticRegion, _
    iItem As Integer _
) As Integer
int ExecMarkerCommand(
    IVsSyntheticRegion pSynthReg,
    int iItem
)
int ExecMarkerCommand(
    [InAttribute] IVsSyntheticRegion^ pSynthReg, 
    [InAttribute] int iItem
)
abstract ExecMarkerCommand : 
        pSynthReg:IVsSyntheticRegion * 
        iItem:int -> int 
function ExecMarkerCommand(
    pSynthReg : IVsSyntheticRegion, 
    iItem : int
) : int

Parameters

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsSyntheticTextClient Interface

Microsoft.VisualStudio.TextManager.Interop Namespace