Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / NamedStyleCollection Class / Find Method
Name of the style to find
Example


In This Topic
    Find Method (NamedStyleCollection)
    In This Topic
    Finds a style (NamedStyle object) in the collection with the specified name.
    Syntax
    'Declaration
     
    
    Public Overridable Function Find( _
       ByVal name As String _
    ) As NamedStyle
    'Usage
     
    
    Dim instance As NamedStyleCollection
    Dim name As String
    Dim value As NamedStyle
     
    value = instance.Find(name)
    public virtual NamedStyle Find( 
       string name
    )

    Parameters

    name
    Name of the style to find

    Return Value

    NamedStyle object in the collection with the specified name or null if no style is found
    Example
    This example searches the collection for a style with the specified name.
    See Also