VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.UIElements Namespace / WebUiElementStateCollectionJS type / contains Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
contains Method
In This Topic
Determines whether the collection contains specified UI element state.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementStateCollectionJS(states);

var value; // Type: boolean

// Parameters
var state; // Type: WebUiElementStateJS

value = instance.contains(state);

Parameters

state
A WebUiElementStateJS object.

Return Value

True if collection contains specified UI element state; otherwise, False.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also