DOFObjectIDSourcecreate Method (Int32, Byte)OpenDOF Object Access Library
Create an DOFObjectID.Source given its class and byte data.

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

C#
public static DOFObjectIDSource create(
	int idClass,
	byte[] data
)

Parameters

idClass
Type: SystemInt32
The class of the identifier. This must be within the valid range.
data
Type: SystemByte
The identifier. This will be stored in the object identifier without parsing. This must not be null. The length must be valid (<= MAX_ID_LENGTH).

Return Value

Type: DOFObjectIDSource
The newly created object identifier.
Remarks

Create an DOFObjectID.Source given its class and byte data. The DOFObjectID created cannot have attributes, cannot be Broadcast and cannot have a data size greater than 20.
See Also

Reference