GoDiagram Web Reference
MaintainsPartID Property

Gets or sets whether the document should make sure each IGoIdentifiablePart has a unique IGoIdentifiablePart.PartID.
Syntax
'Declaration
 
<DescriptionAttribute("Whether all the IGoIdentifiableParts in this document have a unique PartID")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
Public Property MaintainsPartID As Boolean
[DescriptionAttribute("Whether all the IGoIdentifiableParts in this document have a unique PartID")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
public bool MaintainsPartID {get; set;}
Remarks

Setting this property to true will call EnsureUniquePartID. When this property is false, any IGoIdentifiablePart.PartID's are invalid. When this property is true, adding any object to this document will cause every IGoIdentifiablePart whose IGoIdentifiablePart.PartID is -1 to be assigned a unique part ID, a non-negative integer.

If you add any IGoIdentifiablePart with a non-negative integer to a document, all parts (including parts nested inside groups) must have unique IGoIdentifiablePart.PartIDs already. Since PartIDs are integers, the number of unique part IDs for the lifetime of a document is limited to the number of positive integers.

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

GoDocument Class
GoDocument Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback