Click or drag to resize
IFolderGetT Method (IObjType, Boolean, Int32)
Retrieves all objects of a specific type contained in the folder up to a maximum number and returns them with a specific business object interface. This method fails if at least one of the objects specified by pObjType does not implement the T business object interface.

Namespace: PDTec.IceNet.Core.Model
Assembly: PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntax
C#
T[] Get<T>(
	IObjType pObjType,
	bool inclSubtypes,
	int maxCount
)
where T : IObject

Parameters

pObjType
Type: PDTec.IceNet.Core.ModelIObjType
The object type
inclSubtypes
Type: SystemBoolean
Indicates if objects of subtypes qualify as well
maxCount
Type: SystemInt32
The maximum size of the result collection

Type Parameters

T
The business object interface type

Return Value

Type: T
The objects (as specified)
Remarks
Contrary to popular belief it is necessary to explicitly specify the type of the objects to be retrieved. There is no 1:1 mapping between object types and business object interface types in general.
See Also