Discover the DocumentPropertyCollection Count property to effortlessly retrieve the number of items in your collection for efficient data management.... Document doc = new Document ( MyDir + "Properties...properties. Assert . That ( doc . CustomDocumentProper [ "CustomProperty"...