Partager via


SELECTIONSTATE Structure

Represents the state of a selection so that it can be restored to that state.

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

Syntax

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

The SELECTIONSTATE 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 dwFlags Combination of SELECTIONSTATEFLAGS enumeration values.
Public field dwReserved Reserved for future use.
Public field iActiveCol Index of the active column.
Public field iActiveLine Index of the active line.
Public field iAnchorCol Index of the anchor column.
Public field iAnchorLine Index of the anchor 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