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: DOFObjectIDThe newly created object identifier.
Remarks
See Also