Document and Documents Object Differences
The following table lists public operations of the Visual Studio Document and Documents objects that differ from or are not usable in Visual Studio Macros.
Operation |
Behavior in Visual Studio Macros |
---|---|
Returns the document's full name |
|
Not available. |
|
The Save parameter is ignored and should not be passed; Visual Studio Macros keeps changes in memory and therefore never prompts for them, nor does it save or discard them |
|
Exports the document to the file name specified as the parameter; equivalent to the Export command on the shortcut menu for the ProjectItem |
|
Not available |
|
Returns an error because Visual Studio Macros does not support text files |
|
The Save parameter is ignored and should not be passed |