Is there a way to access and use CustomDocumentProperties in the Word Object
Library other than using the InvokeMember of the Type? Any attempt to cast
the object into Microsoft.Office.Core.DocumentProperties fails with an
InvalidCastException. Sample:
Microsoft.Office.Interop.Word.DocumentClass doc = new
Microsoft.Office.Interop.Word.DocumentClass();
Microsoft.Office.Core.DocumentProperties docCustomProps =
(Microsoft.Office.Core.DocumentProperties)(doc.CustomDocumentProperties);

Signature
James
"Peter Huang" [MSFT] - 30 Nov 2005 05:53 GMT
Hi
I have reported the problem.
So far we have to use the latebinding,(invokemember) to do that.
Thanks for your feedback.
Best regards,
Peter Huang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.