GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlTransformer Class / UpdateReference Method
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.
In This Topic
    UpdateReference Method (GoXmlTransformer)
    In This Topic
    Fix up a reference property whose value was delayed until the referred-to-object became available.
    Syntax
    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.
    See Also