ModelUtilsTryGetObjAttrDefByName Method |
Tries the get an object attribute definition from the repository. The usual try-get pattern applies.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static bool TryGetObjAttrDefByName(
IRepository pRepository,
string objTypeName,
string attrDefName,
out IAttrDef pResult
)
Parameters
- pRepository
- Type: PDTec.IceNet.Core.ModelIRepository
The repository. - objTypeName
- Type: SystemString
Name of the object type. - attrDefName
- Type: SystemString
Name of the attribute definition. - pResult
- Type: PDTec.IceNet.Core.ModelIAttrDef
The resulting attribute definition.
Return Value
Type:
Booleantrue if an attribute definition with the specified name exists; otherwise
false.
See Also