Returns marker command information.
Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
Function GetMarkerCommandInfo ( _
    pSynthReg As IVsSyntheticRegion, _
    iItem As Integer, _
    <OutAttribute> pbstrText As String(), _
    <OutAttribute> pcmdf As UInteger() _
) As Integer
用法
Dim instance As IVsSyntheticTextClient
Dim pSynthReg As IVsSyntheticRegion
Dim iItem As Integer
Dim pbstrText As String()
Dim pcmdf As UInteger()
Dim returnValue As Integer
returnValue = instance.GetMarkerCommandInfo(pSynthReg, _
    iItem, pbstrText, pcmdf)
int GetMarkerCommandInfo(
    IVsSyntheticRegion pSynthReg,
    int iItem,
    string[] pbstrText,
    uint[] pcmdf
)
int GetMarkerCommandInfo(
    [InAttribute] IVsSyntheticRegion^ pSynthReg, 
    [InAttribute] int iItem, 
    [OutAttribute] array<String^>^ pbstrText, 
    [OutAttribute] array<unsigned int>^ pcmdf
)
abstract GetMarkerCommandInfo : 
        pSynthReg:IVsSyntheticRegion * 
        iItem:int * 
        pbstrText:string[] byref * 
        pcmdf:uint32[] byref -> int 
function GetMarkerCommandInfo(
    pSynthReg : IVsSyntheticRegion, 
    iItem : int, 
    pbstrText : String[], 
    pcmdf : uint[]
) : int
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 for visibility, being enabled, etc. 
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::GetMarkerCommandInfo(
   [in] IVsSyntheticRegion *pSynthReg,
   [in] long iItem,
   [out, custom(uuid_IVsSyntheticTextClient, "optional")] BSTR * pbstrText,
   [out] DWORD* pcmdf
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
 
See Also
Reference
IVsSyntheticTextClient Interface