共用方式為


FIND_HIDDEN_REGION_FLAGS Enum

Definition

Specifies options for finding hidden regions.

This enumeration supports a bitwise combination of its member values.

public enum class FIND_HIDDEN_REGION_FLAGS
public enum class FIND_HIDDEN_REGION_FLAGS
enum FIND_HIDDEN_REGION_FLAGS
[System.Flags]
public enum FIND_HIDDEN_REGION_FLAGS
[<System.Flags>]
type FIND_HIDDEN_REGION_FLAGS = 
Public Enum FIND_HIDDEN_REGION_FLAGS
Inheritance
FIND_HIDDEN_REGION_FLAGS
Attributes

Fields

Name Value Description
FHR_ALL_REGIONS 0

Specify only this flag to find all hidden regions.

fhrAllRegions 0

Compatibility member. Use FHR_ALL_REGIONS.

FHR_BY_CLIENT_DATA 1

Find region by matching client-specified value in EnumHiddenRegions(UInt32, UInt32, TextSpan[], IVsEnumHiddenRegions) with the dwClient member value specified in the NewHiddenRegion structure for each hidden region.

fhrByClientData 1

Compatibility member. Use FHR_BY_CLIENT_DATA.

FHR_BY_TYPE 2

Find region by type. Casts marker type to DWORD and puts in dwCookie.

fhrByType 2

Compatibility member. Use FHR_BY_TYPE.

FHR_INTERSECTS_SPAN 4

Finds all regions intersecting the given span.

fhrWithinSpan 4

Compatibility member. Use FHR_WITHIN_SPAN.

FHR_EXACT_SPAN 8

Finds only regions whose base span exactly matches the specified span.

fhrExactSpan 8

Compatibility member. Use FHR_EXACT_SPAN.

FHR_EDITOR_CONTROLLED_ONLY 16

Finds only regions that are controlled by the active editor.

fhrEditorControlledOnly 16

Compatibility member. Use FHR_EDITOR_CONTROLLED_ONLY.

FHR_CLIENT_CONTROLLED_ONLY 32

Finds only regions that are controlled by the dwClient member value specified in the NewHiddenRegion structure for each hidden region.

fhrClientControlledOnly 32

Compatibility member. Use FHR_CLIENT_CONTROLLED_ONLY.

FHR_ENTIRELY_WITHIN_SPAN 64

Finds regions that are entirely within the given span, not simply intersecting the span.

FHR_INNERMOST 128

Finds one region that is the most deeply nested region.

FHR_VISIBLE_ONLY 256

Excludes regions inside a collapsed region.

FHR_PREFER_START_IN_SPAN 512

Gives a region starting within the span higher priority than one ending in the span. Only has an effect when FHR_INNERMOST is specified.

FHR_MUST_START_IN_SPAN 1024

Like FHR_PREFER_START_IN_SPAN, except that only regions starting within spans will be returned

Remarks

COM Signature

From textmgr.idl:

Applies to