Click or drag to resize

ModelUtilsGetObjectsWithName 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[] GetObjectsWithName(
	IRepository pRepository,
	IObjType pObjType,
	bool isInherited,
	FindRange range,
	IFolder pFolder,
	string name,
	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
The name that must be matched to qualify as a result.
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