Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / NamedStyleCollection Class / Contains Method
Style (NamedStyle object) for which to check in the collection
Example


In This Topic
    Contains Method (NamedStyleCollection)
    In This Topic
    Determines whether the collection contains the specified style (NamedStyle object).
    Syntax
    'Declaration
     
    Public Overridable Function Contains( _
       ByVal style As NamedStyle _
    ) As Boolean
    'Usage
     
    Dim instance As NamedStyleCollection
    Dim style As NamedStyle
    Dim value As Boolean
     
    value = instance.Contains(style)
    public virtual bool Contains( 
       NamedStyle style
    )

    Parameters

    style
    Style (NamedStyle object) for which to check in the collection

    Return Value

    true if the object is found in the collection; false otherwise
    Example
    This example returns if the specified style is in the collection.
    See Also