StringFilterCapture Class
Specifies a captured zero-based text range from a string filter match.
public class StringFilterCapture
- Inheritance:
- object object
Constructors
StringFilterCapture(int, int)
Specifies a captured zero-based text range from a string filter match.
public StringFilterCapture(int index, int length)
| Parameter | Type | Description |
|---|---|---|
| index | int | The zero-based start index. |
| length | int | The number of captured characters. |
Properties
Index
The zero-based start index.
Length
The number of captured characters.
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
| Parameter | Type | Description |
|---|---|---|
| obj | object | The object to compare with the current object. |
Returns
- bool:
trueif the specified object is equal to the current object; otherwise,false.
GetCaptures(FrameworkElement)
Gets the value of the Captures attached property for the specified object.
public static IEnumerable<StringFilterCapture>? GetCaptures(FrameworkElement obj)
| Parameter | Type | Description |
|---|---|---|
| obj | FrameworkElement | The object from which the property value is read. |
Returns
GetHashCode()
Serves as the default hash function.
SetCaptures(FrameworkElement, IEnumerable<StringFilterCapture>?)
Sets the value of the Captures attached property to the specified object.
public static void SetCaptures(FrameworkElement obj, IEnumerable<StringFilterCapture>? value)
| Parameter | Type | Description |
|---|---|---|
| obj | FrameworkElement | The object to which the attached property is written. |
| value | IEnumerable<StringFilterCapture> | The value to set. |
ToString()
Returns the string representation of this object.
Fields
CapturesProperty
Defines the Captures property.
public static readonly DependencyProperty CapturesProperty
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object, object)
- object.ReferenceEquals(object, object)