Click or drag to resize

ModelUtilsGetObjectsOfType 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
C#
public static IObject[] GetObjectsOfType(
	IRepository pRepository,
	IObjType pObjType,
	bool isInherited,
	FindRange range,
	IFolder pFolder,
	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.
maxResults
Type: SystemInt32
The maximum number of objects to be returned.

Return Value

Type: IObject
An array of objects that match the specified criteria.
See Also