Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I have something like
Document[] doc = otherDoc.Children;
Is there a way to insert an item in doc? Something like doc.Add(newItem);
Thanks!
I've figured it out, List<Document> doc = otherDoc.Children.ToList(); and then doc.Add(newItem); can do the trick.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Add Item in Document[]
Hi,
I have something like
Document[] doc = otherDoc.Children;
Is there a way to insert an item in doc? Something like doc.Add(newItem);
Thanks!
I've figured it out, List<Document> doc = otherDoc.Children.ToList(); and then doc.Add(newItem); can do the trick.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.