Spread ASP.NET 6.0 Product Documentation
Contains Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultSkins Class : Contains Method


skin
Skin (SheetSkin object) for which to check

Glossary Item Box

Determines whether the collection contains the specified skin.

Syntax

Visual Basic (Declaration) 
Public Shared Function Contains( _
   ByVal skin As SheetSkin _
) As Boolean
Visual Basic (Usage)Copy Code
Dim skin As SheetSkin
Dim value As Boolean
 
value = DefaultSkins.Contains(skin)
C# 
public static bool Contains( 
   SheetSkin skin
)

Parameters

skin
Skin (SheetSkin object) for which to check

Return Value

true if the object is in the collection; false otherwise

Example

This example returns whether the specified skin is in the skins collection.
C#Copy Code
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
bool b;
b = ds.Contains(ds.Colorful4);
TextBox1.Text = b.ToString();
Visual BasicCopy Code
Dim ds As New FarPoint.Web.Spread.DefaultSkins
Dim b As Boolean
b = ds.Contains(ds.Colorful4)
TextBox1.Text = b.ToString()

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.