共用方式為


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

'宣告
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

  • isSignificant
    Type: System.Boolean
    false if the extent contains whitespace, unless whitespace should be treated like any other character.

.NET Framework Security

See Also

Reference

TextExtent Structure

TextExtent Overload

Microsoft.VisualStudio.Text.Operations Namespace