GoDiagram Web Reference
SetTransformer Method

a Type representing a class; must not be null
an IGoXmlTransformer; if null, removes any existing transformer for the type t
Cause this XML writer to use the given IGoXmlTransformer for objects of the type given by t.
Syntax
'Declaration
 
Public Function SetTransformer( _
   ByVal t As Type, _
   ByVal g As IGoXmlTransformer _
) As IGoXmlTransformer
public IGoXmlTransformer SetTransformer( 
   Type t,
   IGoXmlTransformer g
)

Parameters

t
a Type representing a class; must not be null
g
an IGoXmlTransformer; if null, removes any existing transformer for the type t
Remarks
Although it's most common to use AddTransformer to register an IGoXmlTransformer for a class Type, if you want to share the same transformer for multiple Types, you can do so using this method.
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

GoXmlReaderWriterBase Class
GoXmlReaderWriterBase Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback