IVsTextLayerMarker.GetMarkerCommandInfo Method

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

Syntax

'宣言
Function GetMarkerCommandInfo ( _
    iItem As Integer, _
    <OutAttribute> pbstrText As String(), _
    <OutAttribute> pcmdf As UInteger() _
) As Integer
'使用
Dim instance As IVsTextLayerMarker
Dim iItem As Integer
Dim pbstrText As String()
Dim pcmdf As UInteger()
Dim returnValue As Integer

returnValue = instance.GetMarkerCommandInfo(iItem, _
    pbstrText, pcmdf)
int GetMarkerCommandInfo(
    int iItem,
    string[] pbstrText,
    uint[] pcmdf
)
int GetMarkerCommandInfo(
    [InAttribute] int iItem, 
    [OutAttribute] array<String^>^ pbstrText, 
    [OutAttribute] array<unsigned int>^ pcmdf
)
function GetMarkerCommandInfo(
    iItem : int, 
    pbstrText : String[], 
    pcmdf : uint[]
) : int

Parameters

  • pbstrText
    Type: []

    [out]

  • pcmdf
    Type: []

    [out]

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTextMarker.GetMarkerCommandInfo(Int32, [], [])

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayerMarker::GetMarkerCommandInfo(
   [in] long iItem,
   [out, custom(uuid_IVsTextMarker, "optional")] BSTR * pbstrText,
   [out] DWORD* pcmdf
);

Permissions

See Also

Reference

IVsTextLayerMarker Interface

IVsTextLayerMarker Members

Microsoft.VisualStudio.TextManager.Interop Namespace