DOFObjectIDcreate Method (DOFObjectID, DOFObjectIDAttribute)OpenDOF Object Access Library
Create a DOFObjectID, with a variable number of attributes, using an object identifier and zero or more attributes.

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

C#
public static DOFObjectID create(
	DOFObjectID objectID,
	params DOFObjectIDAttribute[] attributes
)

Parameters

objectID
Type: org.opendof.core.oalDOFObjectID
The object identifier to add the attribute to. This must not be null.
attributes
Type: org.opendof.core.oalDOFObjectIDAttribute
The attributes for the identifier. List must only contain one attribute of each type. Passing in no attributes results in an object identifier that is no different than the input. An object ID can have a maximum of 128 attributes.

Return Value

Type: DOFObjectID
The newly created object identifier.
Remarks

Create a DOFObjectID, with a variable number of attributes, using an object identifier and zero or more attributes. If the oid already has attributes the specified attributes of different types will be added to the existing attributes and the specified attributes of the same types will replace the existing attributes.
See Also

Reference