Click or drag to resize

IRelTypeCreateAttrDef 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#
IRelAttrDef 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 relationship 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: IRelAttrDef
The new attribute definition
See Also