Condividi tramite


IVsTextLayerMarker.GetMarkerCommandInfo Method

Gets the marker command information.

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

Syntax

'Declaration
Function GetMarkerCommandInfo ( _
    iItem As Integer, _
    <OutAttribute> pbstrText As String(), _
    <OutAttribute> pcmdf As UInteger() _
) As Integer
int GetMarkerCommandInfo(
    int iItem,
    string[] pbstrText,
    uint[] pcmdf
)
int GetMarkerCommandInfo(
    [InAttribute] int iItem, 
    [OutAttribute] array<String^>^ pbstrText, 
    [OutAttribute] array<unsigned int>^ pcmdf
)
abstract GetMarkerCommandInfo : 
        iItem:int * 
        pbstrText:string[] byref * 
        pcmdf:uint32[] byref -> int
function GetMarkerCommandInfo(
    iItem : int, 
    pbstrText : String[], 
    pcmdf : uint[]
) : int

Parameters

  • pbstrText
    Type: array<System.String[]

    [out] The text of the marker command, if any.

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 IVsTextLayerMarker::GetMarkerCommandInfo(
   [in] long iItem,
   [out, custom(uuid_IVsTextMarker, "optional")] BSTR * pbstrText,
   [out] DWORD* pcmdf
);

.NET Framework Security

See Also

Reference

IVsTextLayerMarker Interface

Microsoft.VisualStudio.TextManager.Interop Namespace