다음을 통해 공유


IVsTextLayerMarker.GetMarkerCommandInfo Method (Int32, array<String[], array<UInt32 )

Gets the marker command information.

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
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.

Implements

IVsTextMarker.GetMarkerCommandInfo(Int32, array<String[], array<UInt32[])

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

GetMarkerCommandInfo Overload

Microsoft.VisualStudio.TextManager.Interop Namespace