C# Class Opc.Ua.Com.Client.ComDaClient.Da20ElementBrowser

Browses for DA elements using the DA 2.0 interfaces.
Inheritance: IDaElementBrowser
Mostrar archivo Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
Da20ElementBrowser ( ComDaClient client, string itemId, bool browseToNotSupported ) : System

Initializes a new instance of the Da20ElementBrowser class.

Dispose ( ) : void

Frees any unmanaged resources.

Find ( string targetId, bool isItem ) : DaElement

Finds the element with the specified item id.

Find ( string parentId, string targetId, bool isItem, bool recursive ) : DaElement

Finds the element with the specified item id.

Next ( ) : DaElement

Returns the next DA element.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Method Description
SearchAndSetBrowsePosition ( string itemId ) : bool

Sets the browse position using the BROWSE_DOWN operator.

SetBrowsePosition ( string itemId ) : bool

Sets the browse position.

Method Details

Da20ElementBrowser() public method

Initializes a new instance of the Da20ElementBrowser class.
public Da20ElementBrowser ( ComDaClient client, string itemId, bool browseToNotSupported ) : System
client ComDaClient The client.
itemId string The item id.
browseToNotSupported bool if set to true BROWSE_TO not supported.
return System

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Find() public method

Finds the element with the specified item id.
public Find ( string targetId, bool isItem ) : DaElement
targetId string The target id.
isItem bool if set to true [is item].
return DaElement

Find() public method

Finds the element with the specified item id.
public Find ( string parentId, string targetId, bool isItem, bool recursive ) : DaElement
parentId string The parent id.
targetId string The target id.
isItem bool if set to true the element is a item.
recursive bool if set to true [recursive].
return DaElement

Next() public method

Returns the next DA element.
public Next ( ) : DaElement
return DaElement