ActiveReports 13
CreateObjRef Method (Toolbox)

GrapeCity.ActiveReports.Design.Win Assembly > GrapeCity.ActiveReports.Design.Toolbox Namespace > Toolbox Class : CreateObjRef Method
The System.Type of the object that the new System.Runtime.Remoting.ObjRef will reference.
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Syntax
'Declaration
 
Public Function CreateObjRef( _
   ByVal requestedType As Type _
) As ObjRef
public ObjRef CreateObjRef( 
   Type requestedType
)

Parameters

requestedType
The System.Type of the object that the new System.Runtime.Remoting.ObjRef will reference.

Return Value

Information required to generate a proxy.
Exceptions
ExceptionDescription
This instance is not a valid remoting object.
The immediate caller does not have infrastructure permission.
See Also

Reference

Toolbox Class
Toolbox Members