Opc.Ua.Core
ToDateTimeCollection Method



Opc.Ua Namespace > DateTimeCollection Class : ToDateTimeCollection Method
Array of DateTime to return as a collection
Converts an array to a collection.
Syntax
'Declaration
 
Public Shared Function ToDateTimeCollection( _
   ByVal values() As Date _
) As DateTimeCollection
'Usage
 
Dim values() As Date
Dim value As DateTimeCollection
 
value = DateTimeCollection.ToDateTimeCollection(values)
public static DateTimeCollection ToDateTimeCollection( 
   DateTime[] values
)
public:
static DateTimeCollection^ ToDateTimeCollection( 
   array<DateTime>^ values
) 

Parameters

values
Array of DateTime to return as a collection
Remarks
Converts an array to a collection.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DateTimeCollection Class
DateTimeCollection Members