GoDiagram Win Reference
GetPartInfo Method

an IGoPartInfoRenderer from which one can allocate a GoPartInfo
Return a GoPartInfo that describes this object and that can be transmitted to the client (user agent) as JavaScript data structures that can be used by code running on the client.
Syntax
'Declaration
 
Public Overridable Function GetPartInfo( _
   ByVal view As GoView, _
   ByVal renderer As IGoPartInfoRenderer _
) As GoPartInfo
public virtual GoPartInfo GetPartInfo( 
   GoView view,
   IGoPartInfoRenderer renderer
)

Parameters

view
renderer
an IGoPartInfoRenderer from which one can allocate a GoPartInfo

Return Value

By default this just returns the result of calling IGoPartInfoRenderer.GetStandardPartInfo.
Remarks
You may want to override this method in order to add property/value information for each instance of a class. You can either call IGoPartInfoRenderer.CreatePartInfo and set all of its properties as desired, or you can call the base method to get the standard GoPartInfo as produced by the IGoPartInfoRenderer and modify that. However, it may be that the renderer does not normally produce any GoPartInfo for this kind of object, in which case the base method call will return null. You will need to check that return value to decide whether you can modify it or whether you need to call IGoPartInfoRenderer.CreatePartInfo if you still need to return a GoPartInfo.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoObject Class
GoObject Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback