Partager via


LINEDATAEX Structure

Used to pass direct access to line data in a buffer through GetLineDataEx.

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

Syntax

'Declaration
Public Structure LINEDATAEX
public struct LINEDATAEX
public value class LINEDATAEX
[<Sealed>]
type LINEDATAEX =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The LINEDATAEX type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field dwFlags ORing of LINEDATAFLAGS enumORing of LINEDATAEXFLAGS enumeration.
Public field dwReserved Reserved for use by IVsTextLines implementation.
Public field iEolType Type of the new line character at the end of the line (for example "/n", "/r/n", and so on).
Public field iLength Number of plain text characters, excluding the end of line (EOL) character.
Public field pAtomicTextChain For internal use. Parameter information is not provided.
Public field pAttributes An array of ULONG containing a list of syntax coloring attributes for each character in the line. Syntax coloring for a line is affected by the markers present in the line and keyword coloring.
Public field pszText Array of WCHAR containing all the characters in the line. Use the iLength parameter to determine the end of text in the line. The pszText parameter is not NULL-terminated.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace