Office. Tools Namespace
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Microsoft.Office.Tools namespace contains types that are used by different kinds of Office projects in Visual Studio.
Provides the base class for the
The exception that is thrown when code tries to remove a host control or Windows Forms control that was added to a document at design time.
The exception that is thrown when a customization could not be programmatically removed from a document.
The exception that is thrown when you try to add a control to a Microsoft Office Excel workbook or Microsoft Office Word document at run time, but the name provided for the new control already exists in the workbook or document.
The exception that is thrown when you try to add a control to a Microsoft Office Excel workbook at run time, but the specified range contains multiple areas instead of a contiguous block of cells.
The exception that is thrown when the Visual Studio Tools for Office runtime cannot perform an operation on an Office Open XML Formats document because the format of the document is invalid.
The exception that is thrown when the range provided does not exist on the worksheet.
Defines shared functionality for smart tag actions in Office solutions for Word and Excel.
Represents a custom user interface for the Document Actions task pane in a document-level customization for Word or Excel.
Defines the core functionality of add-ins that you create by using the Office development tools in Visual Studio.
Represents a custom task pane in a Microsoft Office application.
Represents a collection of custom task panes in a Microsoft Office application.
Provides a method you can use to create Ribbon controls at run time in an application-level add-in.
Represents an extension of an AddIn object.
Represents an extension of a type in the Visual Studio Tools for Office runtime .
Represents a collection of regular expressions to be recognized by a smart tag in an Office solution.
Defines shared functionality for smart tags in Office solutions for Word and Excel.
Represents a collection of smart tags in a Word or Excel solution created by using the Office development tools in Visual Studio.
Specifies the direction that controls will be stacked on an actions pane.
The Microsoft.Office.Tools namespace includes the following main types: