VsTextBufferClass.GetMarkerData Method
Returns text marker data for the specified line range within the text buffer.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function GetMarkerData ( _
iTopLine As Integer, _
iBottomLine As Integer, _
<OutAttribute> pMarkerData As MARKERDATA() _
) As Integer
public virtual int GetMarkerData(
int iTopLine,
int iBottomLine,
MARKERDATA[] pMarkerData
)
public:
virtual int GetMarkerData(
[InAttribute] int iTopLine,
[InAttribute] int iBottomLine,
[OutAttribute] array<MARKERDATA>^ pMarkerData
)
abstract GetMarkerData :
iTopLine:int *
iBottomLine:int *
pMarkerData:MARKERDATA[] byref -> int
override GetMarkerData :
iTopLine:int *
iBottomLine:int *
pMarkerData:MARKERDATA[] byref -> int
public function GetMarkerData(
iTopLine : int,
iBottomLine : int,
pMarkerData : MARKERDATA[]
) : int
Parameters
iTopLine
Type: System.Int32[in] Top line of the marker data.
iBottomLine
Type: System.Int32[in] Bottom line of the marker data.
pMarkerData
Type: array<Microsoft.VisualStudio.TextManager.Interop.MARKERDATA[][out] Pointer to filled MARKERDATA structure for the range indicated.
Return Value
Type: System.Int32
If the method succeeds, returns S_OK; otherwise, returns an error code.
Implements
IVsTextLines.GetMarkerData(Int32, Int32, array<MARKERDATA[])
.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.