GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoNode Class / PartID Property
In This Topic
    PartID Property (GoNode)
    In This Topic
    Gets or sets the unique ID of this part within its document.
    Syntax
    [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 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.
    See Also