Partager via


NewSyntheticRegion Structure

Holds information about a synthetic text region.

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

Syntax

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

The NewSyntheticRegion type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field dwBehavior Currently unused; must be zero.
Public field dwClient Client-defined DWORD; this can be retrieved with GetClientData calls.
Public field iAnchorIndex Specifies the zero-based character index (must not be in virtual space).
Public field iAnchorLine Specifies the zero-based line number.
Public field iMarkerType Specifies the display characteristics (coloring, glyph) to show for this region. It has no effect on base buffer.
Public field iSerialValue Used to sort adjacent regions.
Public field pszText Specifies the text to display (can be >1 line).

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