GoDiagram Web Reference
GenerateDefinitions Method (GoXmlTransformer)

the object being generated
Generate elements for the definitions section of the document, rendering any shared objects that this object needs to refer to.
Syntax
'Declaration
 
Public Overridable Sub GenerateDefinitions( _
   ByVal obj As Object _
) 
public virtual void GenerateDefinitions( 
   object obj
)

Parameters

obj
the object being generated
Remarks
This is called by GoXmlWriter.DefineObject. If IdAttributeUsedForSharedObjects is true, this first associates an identifier with the given obj by calling GoXmlWriter.GoXmlWriter.MakeShared This method then calls GenerateDefinitions on the InheritsFromTransformer, to allow another specific transformer to implement this behavior, or else calls GoXmlWriter.GoXmlWriter.InvokeGenerateDefinitions, to allow this TransformerType's base Type to provide a default behavior.
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

GoXmlTransformer Class
GoXmlTransformer Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback