StructureMatchResult Class
Stores a single result of a structure match operation.
public class StructureMatchResult : IStructureMatchResult, ITextRangeProvider
- Inheritance:
- object object
- Implements:
- IStructureMatchResult ITextRangeProvider
Constructors
StructureMatchResult(TextSnapshotRange)
Stores a single result of a structure match operation.
public StructureMatchResult(TextSnapshotRange snapshotRange)
| Parameter | Type | Description |
|---|---|---|
| snapshotRange | TextSnapshotRange | A TextSnapshotRange indicating the offset range of the match. |
Properties
IsSource
Indicates whether this result is the match that occurred from the source offset.
public bool IsSource { get; set; }
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.
public StructureMatchEdges MatchEdges { get; set; }
Property Value
- StructureMatchEdges:
A StructureMatchEdges that specifies the valid edges.
NavigationSnapshotOffset
The TextSnapshotOffset to navigate for the match, if one is available.
public TextSnapshotOffset? NavigationSnapshotOffset { get; set; }
Property Value
SnapshotRange
A TextSnapshotRange indicating the offset range of the match.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()