DOFObjectIDcreate Method (Int32, Byte, IListDOFObjectIDAttribute)OpenDOF Object Access Library
Create a DOFObjectID given its class, byte data and attributes.

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

C#
public static DOFObjectID create(
	int idClass,
	byte[] data,
	IList<DOFObjectIDAttribute> attributes
)

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).
attributes
Type: System.Collections.GenericIListDOFObjectIDAttribute
The attributes to be added to the DOFObjectID. List must only contain one attribute of each type.

Return Value

Type: DOFObjectID
The newly created object identifier.
Remarks

Create a DOFObjectID given its class, byte data and attributes. If an DOFObjectID cannot be created from the identifier provided then it returns null.
See Also

Reference