Determines whether the collection contains the specified style (
StyleInfo object).
public virtual System.bool Contains(
StyleInfo
)
'Declaration
Public Overridable Function Contains( _
ByVal As StyleInfo _
) As System.Boolean
'Usage
Dim instance As StyleInfoCollection
Dim style As StyleInfo
Dim value As System.Boolean
value = instance.Contains(style)
Parameters
- style
- Style (StyleInfo object) for which to check in the collection.
Return Value
true
if the collection contains the specified style (
StyleInfo object); otherwise,
false
.
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)