HtmlAttributeCollectionStyleExists Method
Return a value indicating whether the specified style exists in the
supplied attributes collection.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static bool StyleExists(
HtmlAttributeCollection attributes,
string styleName
)
Public Shared Function StyleExists (
attributes As HtmlAttributeCollection,
styleName As String
) As Boolean
No code example is currently available or this language may not be supported.
- attributes HtmlAttributeCollection
-
Reference to the collection of attributes to search.
- styleName String
-
Name of the style to search for.
Boolean
True if the specified style is found within the given attributes
collection. Otherwise, false.