GoDiagram Web Reference
UpdateReference Method (GoXmlTransformer)

The object that contains an unresolved reference
a String that the names the property or somehow identifies which reference in the object given by obj needs to be updated with the correct reference given by referred
an Object that is the result of a call to GoXmlReader.FindShared, or if that call returned null, the String which was the reference string passed to the earlier call to GoXmlReader.AddDelayedRef.
Fix up a reference property whose value was delayed until the referred-to-object became available.
Syntax
'Declaration
 
Public Overridable Sub UpdateReference( _
   ByVal obj As Object, _
   ByVal prop As String, _
   ByVal referred As Object _
) 
public virtual void UpdateReference( 
   object obj,
   string prop,
   object referred
)

Parameters

obj
The object that contains an unresolved reference
prop
a String that the names the property or somehow identifies which reference in the object given by obj needs to be updated with the correct reference given by referred
referred
an Object that is the result of a call to GoXmlReader.FindShared, or if that call returned null, the String which was the reference string passed to the earlier call to GoXmlReader.AddDelayedRef.
Remarks
This is called from GoXmlReader.ProcessDelayedObjects. By default this calls UpdateReference on the InheritsFromTransformer, to allow another specific transformer to implement this behavior, or else calls GoXmlWriter.InvokeUpdateReference, to allow this TransformerType's base Type to provide a default behavior.
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

GoXmlTransformer Class
GoXmlTransformer Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback