Click or drag to resize

IRepositoryCreateObjType Method

Create an object type. Fails if an object type with the same name already exists.

Namespace:  PDTec.IceNet.Core.Model
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
IObjType CreateObjType(
	string name,
	string displayName,
	string description,
	bool isAbstract,
	IPackage pPackage
)

Parameters

name
Type: SystemString
The name.
displayName
Type: SystemString
The display name.
description
Type: SystemString
The description.
isAbstract
Type: SystemBoolean
Indicates if the object type is abstract.
pPackage
Type: PDTec.IceNet.Core.ModelIPackage
The package.

Return Value

Type: IObjType
The new object type.
Exceptions
ExceptionCondition
ModelExceptionThrown when a object type with the same name already exists.
See Also