Contains Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether the current text run collection contains a specified text run.
Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Function Contains ( _
run As TextRun _
) As Boolean
public bool Contains(
TextRun run
)
public:
bool Contains(
TextRun^ run
)
member Contains :
run:TextRun -> bool
public function Contains(
run : TextRun
) : boolean
Parameters
- run
Type: Microsoft.SPOT.Presentation.Controls. . :: . .TextRun
The text run to be searched for in the collection.
Return Value
Type: System. . :: . .Boolean
true if the collection contains the specified text run; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.