GoDiagram Web Reference
GeneratePortReferences Method

Write attribute values that are references to named ports on the node obj.
Syntax
'Declaration
 
Protected Overridable Sub GeneratePortReferences( _
   ByVal obj As Object _
) 
protected virtual void GeneratePortReferences( 
   object obj
)

Parameters

obj
Remarks
This is called by GenerateAttributes when HandlesNamedPorts is true. This method does nothing for obj objects that are not instances of Northwoods.GoWeb.GoGroup. For each Northwoods.GoWeb.GoPort that is an immediate child object of the node, it calls GoXmlTransformer.WriteAttrRef to write an attribute whose name is the group child name for the port and whose value is a reference identifier. These port identifiers are not at all related to an Northwoods.GoWeb.IGoIdentifiablePart.Northwoods.GoWeb.IGoIdentifiablePart.PartID. All attributes defined by AddBinding(String,String) or otherwise generated by GenerateAttributes must not duplicate any port names.
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
ConsumePortReferences Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback