TextExtent Constructor (SnapshotSpan, Boolean)
Initializes a new instance of TextExtent.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Sub New ( _
span As SnapshotSpan, _
isSignificant As Boolean _
)
public TextExtent(
SnapshotSpan span,
bool isSignificant
)
public:
TextExtent(
SnapshotSpan span,
bool isSignificant
)
new :
span:SnapshotSpan *
isSignificant:bool -> TextExtent
public function TextExtent(
span : SnapshotSpan,
isSignificant : boolean
)
Parameters
- span
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The SnapshotSpan that includes the extent.
- isSignificant
Type: System.Boolean
false if the extent contains whitespace, unless whitespace should be treated like any other character.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.