OPCDA.NET Reference Manual
SetState Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcGroup Class : SetState Method

grpStates
Object with all states to be changed.

Glossary Item Box

The client can set various states of the group. The "defined" flag has to be set in the argument object for each state the client wants to change.
Group states can be changed by calling this method or alternatively individually by assigning the corresponding OpcGroup property.

Syntax

Visual Basic (Declaration) 
Public Function SetState( _
   ByRef grpStates As SetStateArgs _
) As Integer
C# 
public int SetState( 
   ref SetStateArgs grpStates
)

Parameters

grpStates
Object with all states to be changed.

Return Value

HRESULT success/error code

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.