VintaSoft Twain .NET SDK 15.5: Документация для Веб разработчика
Vintasoft.Shared Namespace / WebFlagsEnumItemBaseJS type / contains Methods / contains(Vintasoft.Shared.WebFlagsEnumItemBaseJS) Property
Синтаксис Совместимость с браузерами Смотрите также
В этом разделе
contains(Vintasoft.Shared.WebFlagsEnumItemBaseJS) Метод
В этом разделе
Determines that this enumeration element (bit field) contains the specified sub element (bit field). This method has effect only for enumerations that defines bit flags.
Синтаксис
var instance = new Vintasoft.Shared.WebFlagsEnumItemBaseJS();

var value; // Type: boolean

// Parameters
var val; // Type: WebFlagsEnumItemBaseJS

value = instance.contains(val);

Parameters

val
Value of enumeration element (bit field).

Return Value

True - this enumeration element contains the specified sub element; False - this enumeration element does NOT contain the specified sub element.
Смотрите также