dOPC Client Toolkit
Close
dOPCIntf.TdOPCBrowseItem.Kind

defines the kind of the browse item (e.g. folder, variable, ...)

property Kind: integer;
__property int Kind;

Defines the kind of the browse item (e.g. folder, variable, ...) 

Under OPC classic COM normally the kind has the value folder (0) or Item (2). 

Under OPC UA there a lot of other kinds. Property Kind can have following values: 

The constants are defined in unit dOPCIntf.

const br_kind_folder =0; // is an folder br_kind_obj =1; // is an object br_kind_var =2; // is a variable br_kind_comp =3; // is a variable which has components br_kind_method =4; // item is a method br_kind_proptype=5; // following constants are normally under Types Folder br_kind_datatype=6; br_kind_objtype =7; br_kind_reftype =8; br_kind_vartype =9; br_kind_view =10; // following constants are normally under View Folder

You can use property Kind e.g. to show icons in a tree view (ImageIndex := BItem.Kind):

Kassl GmbH Copyright © 2021. All rights reserved.