Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the position lies within the span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
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
Parameters
position
Type: Int32The position to check.
Return Value
Type: Boolean
true if the position is greater than or equal to parameter span.Start and strictly less than parameter span.End, otherwise false.
.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.