How to get the documents custom attributes

IF you don't open the solidworks file,how to get thedocuments custom attributes?
When you open the open file dialog,you can see a custom propertyvalues.
If you can use the marco to get documents custom attributes or theassembly can get the parts of the custom attributes when you don'topen the file?SolidworksApi macros