Spread for ASP.NET 9.0 Product Documentation
Contains Method (DefaultStyleCollection)
Example 


Style (NamedStyle object) for which to check in the collection
Determines whether the collection contains the specified style.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal style As NamedStyle _
) As Boolean
'Usage
 
Dim instance As DefaultStyleCollection
Dim style As NamedStyle
Dim value As Boolean
 
value = instance.Contains(style)
public 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
Remarks
Determines whether the collection contains the specified NamedStyle object.
Example
FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection();
bool b;
b = dsc.Contains(dsc.DataAreaDefault);
TextBox1.Text = b.ToString();
Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection
Dim b As Boolean
b = dsc.Contains(dsc.DataAreaDefault)
TextBox1.Text = b.ToString()
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DefaultStyleCollection Class
DefaultStyleCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.