EasyUA Reference
BooleanCollection Class
Members  Example  See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace : BooleanCollection Class

Glossary Item Box

A collection of Boolean values.

Object Model

BooleanCollection ClassBoolean Structure

Syntax

Visual Basic (Usage)Copy Code
Dim instance As BooleanCollection
C# 
[CollectionDataContractAttribute(Namespace="http://opcfoundation.org/UA/2008/02/Types.xsd", 
   IsNamespaceSetExplicitly=true, 
   Name="ListOfBoolean", 
   IsNameSetExplicitly=true, 
   ItemName="Boolean", 
   IsItemNameSetExplicitly=true)]
public class BooleanCollection : System.Collections.Generic.List<bool> 

Remarks

Provides a strongly-typed collection of Boolean values.

Example

C#Copy Code
BooleanCollection bools = new BooleanCollection();
bools.AddRange( new bool[]{true, false, true, false} );
Visual BasicCopy Code
Dim bools As New BooleanCollection()
bools.AddRange( New Boolean(){ True, False, True, False } )

Inheritance Hierarchy

System.Object
   System.Collections.Generic.List<T>
      Opc.Ua.BooleanCollection

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.