共用方式為


RelativeSelectionStateFlags Enumeration

Specifies the state of a selection relative to another layer.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration RelativeSelectionStateFlags
'用途
Dim instance As RelativeSelectionStateFlags
[FlagsAttribute]
public enum RelativeSelectionStateFlags
[FlagsAttribute]
public enum class RelativeSelectionStateFlags
[<FlagsAttribute>]
type RelativeSelectionStateFlags
public enum RelativeSelectionStateFlags

Members

Member name Description
RSS_DEFAULT Coordinates relative to the top view layer.
RSS_TOP_LAYER Coordinates relative to the top view layer.
RSS_BUFFER Coordinates relative to the buffer.
RSS_RELATIVE_LAYER Coordinates relative to the layer specified in pReference.
RSS_TRACKSEL  
RSS_SET_WITHOUT_SCROLLING Flags for SetRelativeSelectionState tells the view to not scroll to force the selection to be visible.
RSS_SET_TO_NEAREST_LOCAL For RSS_BUFFER or RSS_RELATIVE_LAYER, tells the view to put the caret at the nearest local position.
rssDefault Same as RSS_DEFAULT. For compatibility.
rssTopLayer Same as RSS_TOP_LAYER. For compatibility.
rssBuffer Same as RSS_BUFFER. For compatibility.
rssRelativeLayer Same as RSS_RELATIVE_LAYER. For compatibility.
rssTrackSel Same as RSS_TRACKSEL. For compatibility.

Remarks

COM Signature

From textmgr.idl:

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace