Span.Contains Method (Int32)
Determines whether the position lies within the span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
声明
Public Function Contains ( _
position As Integer _
) As Boolean
public bool Contains(
int position
)
public:
bool Contains(
int position
)
member Contains :
position:int -> bool
public function Contains(
position : int
) : boolean
- position
Type: System.Int32
The position to check.
Type: System.Boolean
true if the position is greater than or equal to Start and less than End, otherwise false.
- 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.