In This Article

IStructureMatchResult Interface

Provides the base requirements for a class that stores a single result of a structure match operation.

public interface IStructureMatchResult : ITextRangeProvider

Properties

IsSource

Gets whether this result is the match that occurred from the source offset.

bool IsSource { get; }

Property Value

bool:

true if the result is the match that occurred from the source offset; otherwise, false.

MatchEdges

Gets which edges of a IStructureMatchResult's range can cause the IStructureMatcher to match the result again.

StructureMatchEdges MatchEdges { get; }

Property Value

StructureMatchEdges:

A StructureMatchEdges that specifies the valid edges.

NavigationSnapshotOffset

Gets the TextSnapshotOffset to navigate for the match, if one is available.

TextSnapshotOffset? NavigationSnapshotOffset { get; }

Property Value

TextSnapshotOffset?:

The TextSnapshotOffset to navigate for the match, if one is available.

SnapshotRange

Gets a TextSnapshotRange indicating the offset range of the match.

TextSnapshotRange SnapshotRange { get; }

Property Value

TextSnapshotRange:

A TextSnapshotRange indicating the offset range of the match.

Inherited Members