Span.Contains Method (Span)

Determines whether the specified 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 ( _
    span As Span _
) As Boolean
public bool Contains(
    Span span
)
public:
bool Contains(
    Span span
)
member Contains : 
        span:Span -> bool 
public function Contains(
    span : Span
) : 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

Span Structure

Contains Overload

Microsoft.VisualStudio.Text Namespace