VintaSoft Twain .NET SDK v10.2
Vintasoft.Shared Namespace / WebFlagsEnumItemBase type / contains Method
Name or value of enumeration element (bit field).
In This Topic
    contains Method
    In This Topic
    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.
    Syntax
    var instance = new Vintasoft.Shared.WebFlagsEnumItemBase();
    var value; // Type: boolean
    
    // Parameters
    var val; // Type:  object
    
    value = instance.contains(val);
    function contains( 
       val : object
    ) : boolean;

    Parameters

    val
    Name or 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.
    Browser Compatibility
    9
    5
    11
    5
    See Also