ModelUtilsGetObjectsWithAttributeValue Method |
Gets all objects of a specific type, filtered and restricted by certain criteria.
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 IObject[] GetObjectsWithAttributeValue(
IRepository pRepository,
IObjType pObjType,
bool isInherited,
FindRange range,
IFolder pFolder,
IAttrDef pAttrDef,
Object attrValue,
int maxResults
)
Parameters
- pRepository
- Type: PDTec.IceNet.Core.ModelIRepository
The repository. - pObjType
- Type: PDTec.IceNet.Core.ModelIObjType
The object type. - isInherited
- Type: SystemBoolean
Specifies if subtypes of the specified object types qualify, too. - range
- Type: PDTec.IceNet.Core.Database.QueryFindRange
The folder range to be searched. - pFolder
- Type: PDTec.IceNet.Core.ModelIFolder
The context folder. If the range is Global, this parameter is not relevant. - pAttrDef
- Type: PDTec.IceNet.Core.ModelIAttrDef
The attribute definition that is used to match the specified value. - attrValue
- Type: SystemObject
The attribute value that must be matched to qualify as a result. - maxResults
- Type: SystemInt32
The maximum number of objects to be returned.
Return Value
Type:
IObjectAn array of objects that match the specified criteria.
See Also