dOPC Client Toolkit Help file
TdOPCPropertyBrowser.AddProperty Method
C++
public: __fastcall AddProperty(
    int PropertyId
);
C#
public AddProperty(
    int PropertyId
);
Visual Basic
Public Sub AddProperty(
    PropertyId As Integer
)

AddProperty adds a the property with the passed PropertyId to an internal list.

With this method you can define single properties of items to be added to the TdOPCPropertyBrowser.

PB.AddProperty(OPC_PROP_CDT); //add property data type
PB.AddProperty(OPC_PROP_DESC); //add property description
What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.