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
Indicates whether this result is the match that occurred from the source offset.
bool IsSource { get; }
Property Value
- bool:
trueif the result is the match that occurred from the source offset; otherwise,false.
MatchEdges
Indicates 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
The TextSnapshotOffset to navigate for the match, if one is available.
SnapshotRange
A TextSnapshotRange indicating the offset range of the match.