DOFObjectIDAttributecreate Method (Byte, Byte)OpenDOF Object Access Library
Construct an attribute using binary data.

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

C#
public static DOFObjectIDAttribute create(
	byte type,
	byte[] value
)

Parameters

type
Type: SystemByte
The type of attribute. This must be one of the 'type' constants defined in this class, or another registered type (valid range is 0 - 127).
value
Type: SystemByte
The attribute value. Except for types PROVIDER and GROUP this value may be null, in which case the attribute is added with no associated data.

Return Value

Type: DOFObjectIDAttribute
The new attribute.
Remarks

Construct an attribute using binary data.
See Also

Reference