DOFObjectIDcreate Method (DOFObjectID, IListDOFObjectIDAttribute)OpenDOF Object Access Library
Create a DOFObjectID with a list of attributes, using an object identifier 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(
	DOFObjectID objectID,
	IList<DOFObjectIDAttribute> attributes
)

Parameters

objectID
Type: org.opendof.core.oalDOFObjectID
The object identifier to add the attributes to. If the oid already has attributes the attributes are added to the existing attributes. This must not be null.
attributes
Type: System.Collections.GenericIListDOFObjectIDAttribute
The attributes for the identifier. List must only contain one attribute of each type. An object ID can have a maximum of 128 attributes. Null may be passed, in which case the new object ID is the same as given objectID.

Return Value

Type: DOFObjectID
The newly created object identifier.
Remarks

Create a DOFObjectID with a list of attributes, using an object identifier and 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