createCode MethodStatic

Create a code that can be used for any subclass of InformationPartitionElement.

createCode(iModel: IModelDb, parentSubjectId: string, codeValue: string): Code

Parameter Type Description
iModel IModelDb  
parentSubjectId string The Id of the parent Subject that provides the scope for names of its child InformationPartitionElements.
codeValue string The InformationPartitionElement name

Returns - Code

Defined in

Last Updated: 10 May, 2024