Spread for ASP.NET 8.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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

DefaultStyleCollection Class
DefaultStyleCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.