TextExtent Structure
Represents the extent of a word.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Structure TextExtent
public struct TextExtent
public value class TextExtent
[<Sealed>]
type TextExtent = struct end
JScript supports the use of structures, but not the declaration of new ones.
The TextExtent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
TextExtent(TextExtent) | Initializes a new instance of a TextExtent from the specified TextExtent. |
![]() |
TextExtent(SnapshotSpan, Boolean) | Initializes a new instance of TextExtent. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
IsSignificant | Determines whether the extent is significant. |
![]() |
Span | Gets the SnapshotSpan. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether two TextExtent objects are the same. (Overrides ValueType.Equals(Object).) |
![]() |
GetHashCode | Gets the hash code of the object. (Overrides ValueType.GetHashCode.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Operators
Name | Description | |
---|---|---|
![]() ![]() |
Equality | Determines whether two TextExtent objects are the same. |
![]() ![]() |
Inequality | Determines whether two TextExtent objects are different. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.