GoDiagram Win Reference
GoXmlBindingTransformer Constructor(String,Object)

Create a GoXmlBindingTransformer with a given GoXmlTransformer.ElementName and a given Northwoods.Go.GoObject or ICloneablePrototype, whose Type is the GoXmlTransformer.TransformerType.
Syntax
'Declaration
 
Public Function New( _
   ByVal eltname As String, _
   ByVal proto As Object _
)
public GoXmlBindingTransformer( 
   string eltname,
   object proto
)

Parameters

eltname
proto
Remarks

There is a special use of GoXmlBindingTransformer when it applies to a Northwoods.Go.GoDocument that is the root. If the prototype object is a Northwoods.Go.GoDocument and if it is the value of GoXmlWriter.Objects, this transformer's GoXmlTransformer.ElementName is used as the RootElementName, and GoXmlWriter.GenerateRootAttributes will call this transformer's GenerateAttributes method. If the prototype object is a Northwoods.Go.GoDocument and if an instance of it is the value of GoXmlReader.GoXmlReader.RootObject, GoXmlReader.ConsumeRootAttributes will call this transformer's ConsumeAttributes method. This permits the use of this binding mechanism for binding root attributes with Northwoods.Go.GoDocument properties.

However, reading such a document will not make a copy of the Northwoods.Go.GoDocument prototype.

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

GoXmlBindingTransformer Class
GoXmlBindingTransformer Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback