| ModelUtilsGetObjectsWithAttributeValues Method (IRepository, IObjType, Boolean, FindRange, IFolder, String, IListPairIAttrDef, Object, Int32) | 
            Gets all objects of a specific type, filtered and restricted by certain criteria.
            
 
Namespace: PDTec.IceNet.Sdk.UtilsAssembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic static IObject[] GetObjectsWithAttributeValues(
	IRepository pRepository,
	IObjType pObjType,
	bool isInherited,
	FindRange range,
	IFolder pFolder,
	string name,
	IList<Pair<IAttrDef, Object>> ltAttrValues,
	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. - name
 - Type: SystemString
A string value that is matched against the objects names. If set to null, this match is ignored. - ltAttrValues
 - Type: System.Collections.GenericIListPairIAttrDef, Object
A list of attribute definition together with an 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