Condividi tramite


Functions (VSTA)

 

Microsoft Visual Studio Tools for Applications 2012 (VSTA) includes a single header file, vsta.h, which contains functions and constants for creating VSTA types and manipulating VSTA projects.

In This Section

CreateOptions Method
Returns [IOptions] to be used to create the initial interface.

CreateReference Method
Creates an instance of IReference used for upgrading or retargeting a VSTA project.

CreateSessionManager Method
Returns [ISessionManager] as the initial interface for integrating Microsoft Visual Studio Tools for Applications 2012.

CreateStorageFromTemplatePath Method
Returns the [IProjectStorage] Interface for the project.

CreateStorageFromTemplateStream Method
Returns the [IProjectStorage] Interface for the project.

RetargetVstaProject Method
Changes an existing Visual Studio Tools for Applications project to target a different version of Visual Studio or the .NET Framework.

UpgradeVsaProject Method
Generates a Microsoft Visual Studio Tools for Applications 2012 (VSTA) project from the VSA project.

UpgradeVstaProject Method
Updates a VSTA 2.0 or 1.1 project to a Microsoft Visual Studio Tools for Applications 2012 project.

Reference

Interfaces (VSTA)

Reference documentation for managed types can be found in the dv_vstaref.chm Help file.