We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Method not found: System.Collections.IEnumerator Aspose.Words.Properties.DocumentPropertyCollection.GetEnumerator()

Did something change?
I’m getting the following error:
Method not found: System.Collections.IEnumerator Aspose.Words.Properties.DocumentPropertyCollection.GetEnumerator()

            foreach( DocumentProperty property in _document.CustomDocumentProperties )
            {
                if( !values.ContainsKey( property.Name ) )
                    continue;

                property.Value = values[property.Name];
            }

This particular code segment has been in place for a while.

Thanks.

@gmitchell.surgicalno

Thanks for your inquiry. Untyped containers like ArrayList replaced with typed containers like List. Please check Aspose.Words for .NET 18.7 Release Notes.

Before:
public abstract class DocumentPropertyCollection : IEnumerable

After:
public abstract class DocumentPropertyCollection : IEnumerable<DocumentProperty>