Click or drag to resize

IObjectQueryInterface Method

Cast to a Business Object interface.

Namespace:  PDTec.IceNet.Core.Model
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
IObject QueryInterface(
	Type pInterfaceType
)

Parameters

pInterfaceType
Type: SystemType
The type of interface to be casted to

Return Value

Type: IObject
A reference to the Business Object interface if available. Null if not.
Remarks
In order to cast to a Business Object interface, several prerequisites must be fulfilled: 1. The Business Object implementation assembly must be made available to the platform (via RequestImplAssemblies event) 2. The implementation must be connected to the object's type (or any supertype) by correctly declaring the ObjectImpl Attribute on the BO Factory
See Also