Поделиться через


Document Object and Documents Object Differences (Macros IDE)

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

FullName

Returns the document's full name

Path

Not available.

Close

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

Save

Exports the document to the file name specified as the parameter; equivalent to the Export command on the shortcut menu for the ProjectItem

Add

Not available

Open

Returns an error because Visual Studio Macros does not support text files

CloseAll

The Save parameter is ignored and should not be passed

See Also

Concepts

Extensibility Model Differences (Macros IDE)

Property Differences (Macros IDE)

Item Operation Differences (Macros IDE)

Find2 Method Differences (Macros IDE)

Project Differences (Macros IDE)

Options Differences (Macros IDE)