ITcPlcDeclaration

Inherits from: IUnknown

Access to the declaration section of POUs and variable worksheets. get: returns the declaration text. set: sets the text and saves the object.

Properties

Property

Type

get/set

Description

DeclarationText

BSTR

get/set

Declaration text for the object. get: returns "" if not connected. get: InsufficientAccessRightsException without View permission, UnsupportedAutomationException for unsupported objects; set: DanglingAdapterException, InsufficientAccessRightsException without Modify permission, UnsupportedAutomationException.

Methods

(none)