[Category("Ownership")]
[Description("The GoLayer to which this object belongs.")]
publicGoLayer Layer {get;}
Remarks
If this object is not part of any layer, either directly as a top-level object, or as part of a group, then this property value will be null. You cannot set this property--call GoLayer.Add instead. CopyObject will not set this property directly, nor will it automatically add the copied object to some layer to set this property indirectly. The caller of CopyObject is responsible for deciding which GoLayer to add the newly copied object, if any.