GoDiagram Win Reference
IdAttributeUsedForSharedObjects Property

Gets or sets whether this transformer reads/writes the "id" attribute using the identifier associated with shared objects.
Syntax
'Declaration
 
Public Property IdAttributeUsedForSharedObjects As Boolean
public bool IdAttributeUsedForSharedObjects {get; set;}

Property Value

The initial value is false.
Remarks
Setting this property to true will cause GenerateDefinitions to call GoXmlWriter.MakeShared in order to associate an identifier with the object, and it will cause GenerateAttributes to write out an "id" attribute whose value is that identifier, as returned by GoXmlWriter.FindShared. When reading, ConsumeAttributes will look at the value of the "id" attribute of the current element and (if present) will call MakeShared to associate that identifier with the object. Your reading code can then call FindShared to try to resolve an identifier into a reference.
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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback