GoDiagram Web Reference
ConsumePortReferences Method

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

Parameters

obj
Remarks
This is called by ConsumeAttributes 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, and that has a group child name, it calls GoXmlTransformer.StringAttr to read an identifier for that port. If the identifier is a non-empty string, it calls GoXmlReader.MakeShared to define the ID for that port. These port identifiers are not at all related to an Northwoods.GoWeb.IGoIdentifiablePart.Northwoods.GoWeb.IGoIdentifiablePart.PartID. If the identifier is an empty string, the port will not get a shared identifier, so it will not be able to be found by other attributes/properties that refer to it, but the port remains on the node. If the attribute is not present in the element, the port is removed from the node.
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
GeneratePortReferences Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback