DOFInterfaceBuilderaddProperty Method OpenDOF Object Access Library
Add a Property to the Interface.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFInterfaceBuilder addProperty(
	int itemID,
	bool isWritable,
	bool isReadable,
	DOFType type
)

Parameters

itemID
Type: SystemInt32
A number from 0 - 32,767 that identifies this interface item. This must be unique within a DOFInterface (no other Typedef, Property, Method, Event, or Exception may use the same ID).
isWritable
Type: SystemBoolean
Is the property writable?
isReadable
Type: SystemBoolean
Is the property readable?
type
Type: org.opendof.core.oalDOFType
The type of the property. Must not be null.

Return Value

Type: DOFInterfaceBuilder
The builder.
Remarks

Add a Property to the Interface.
See Also

Reference