Click or drag to resize

IObjTypeCreateAttrDef Method

Creates an attribute definition.

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#
IAttrDef CreateAttrDef(
	string name,
	string displayName,
	string description,
	IAttrType pAttrType
)

Parameters

name
Type: SystemString
The name of the attribute definition. This name must only be unique within the scope of the object type. Therefore no package prefixes are required.
displayName
Type: SystemString
The display name
description
Type: SystemString
The description. Can be an empty string.
pAttrType
Type: PDTec.IceNet.Core.ModelIAttrType
The attribute type

Return Value

Type: IAttrDef
The new attribute definition
See Also