Dundas Chart for Windows Forms
CreateObjRef Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class : CreateObjRef Method


requestedType
The Type of the object that the new 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

Visual Basic (Declaration)  
Public Overridable Function CreateObjRef( _
   ByVal requestedType As Type _
) As ObjRef
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim requestedType As Type
Dim value As ObjRef
 
value = instance.CreateObjRef(requestedType)
C#  
public virtual ObjRef CreateObjRef( 
   Type requestedType
)

Parameters

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

Return Value

Information required to generate a proxy.

Exceptions

Exception Description
SecurityException The immediate caller does not have infrastructure permission.
RemotingException This instance is not a valid remoting object.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.