Freigeben über


IVsSyntheticTextClient.GetMarkerCommandInfo-Methode

Gibt Informationen über den Befehl Marker zurück.

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

Syntax

'Declaration
Function GetMarkerCommandInfo ( _
    pSynthReg As IVsSyntheticRegion, _
    iItem As Integer, _
    <OutAttribute> pbstrText As String(), _
    <OutAttribute> pcmdf As UInteger() _
) As Integer
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

Parameter

  • iItem
    Typ: Int32

    [in] Die Markierung der Befehl ausgeführt wird. (siehe MarkerCommandValues)

  • pbstrText
    Typ: array<String[]

    [out] Der festzulegende [optional] Der Name für den Befehl.

  • pcmdf
    Typ: array<UInt32[]

    [out] Flags für Befehle auf deren Sichtbarkeit, usw.

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Von textmgr.idl:

HRESULT IVsSyntheticTextClient::GetMarkerCommandInfo(
   [in] IVsSyntheticRegion *pSynthReg,
   [in] long iItem,
   [out, custom(uuid_IVsSyntheticTextClient, "optional")] BSTR * pbstrText,
   [out] DWORD* pcmdf
);

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsSyntheticTextClient Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace