Share via


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

Return Value

Type: System. . :: . .Boolean
true if the collection contains the specified text run; otherwise, false.

.NET Framework Security

See Also

Reference

TextRunCollection Class

Microsoft.SPOT.Presentation.Controls Namespace