Discover the CustomXmlPartCollection Count property to easily retrieve the total number of elements in your XML collection for enhanced data management....xmlPartContent = "<root><text>Hello world!</text></root>" ; CustomXmlPart...); // Clone a part, and then insert it into the collection. CustomXmlPart...