GoDiagram Win Reference
Allocate Method (GoXmlBindingTransformer)

Construct an object for this element by making a copy of the Prototype.
Syntax
'Declaration
 
Public Overrides Function Allocate() As Object
public override object Allocate()

Return Value

a copy of the value of Prototype
Remarks
If the Prototype is a Northwoods.Go.GoObject or a Northwoods.Go.GoDocument, this returns the value of Northwoods.Go.GoObject.Copy. If the Prototype implements the ICloneable interface, this returns the value of Clone(). Otherwise this raises an exception. When a copy is made, and when the GoXmlReaderWriterBase.ParentObject's GoXmlBindingTransformer's HandlesChildAttributes property is true, this calls ConsumeChildAttributes on that parent class's transformer to allow it to consume attributes of this current element.
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
Base Implementation in Allocate

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback