PartID Property (GoComment)
Gets or sets the unique ID of this part within its document.
[Category("Ownership")]
[Description("The unique ID of this part in its document.")]
public virtual int PartID {get; set;}
Property Value
The value is invalid unless this object is part of a
GoDocument whose
GoDocument.MaintainsPartID property is true. Setting this property is normally done only by
GoDocument when this object is added to the document, or by code deserializing a document, before this object is part of the document. The default value is -1, to indicate to the document that it needs to find and assign a unique PartID for this object when it is added to the document.