private static Graphic CloneGraphic(Graphic g) { if(g == null) return null; Graphic clone = new Graphic() { Geometry = g.Geometry }; foreach(var key in g.Attributes.Keys) clone.Attributes[key] = g.Attributes[key]; //or set to null if you want all values to be null. You might also want to skip ObjectID return clone; }
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.