次の方法で共有


SnapshotSpan.Contains Method (SnapshotSpan)

Determines whether the snapshot span falls completely within this span.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣言
Public Function Contains ( _
    snapshotSpan As SnapshotSpan _
) As Boolean
public bool Contains(
    SnapshotSpan snapshotSpan
)
public:
bool Contains(
    SnapshotSpan snapshotSpan
)
member Contains : 
        snapshotSpan:SnapshotSpan -> bool 
public function Contains(
    snapshotSpan : SnapshotSpan
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the specified span falls completely within this span, otherwise false.

.NET Framework Security

See Also

Reference

SnapshotSpan Structure

Contains Overload

Microsoft.VisualStudio.Text Namespace