Microsoft.Office.Tools Namespace

 

The Microsoft.Office.Tools namespace contains types that are used by different kinds of Office projects in Visual Studio.

ClassDescription
System_CAPS_pubclassAddInBase

Provides the base class for the ThisAddIn class in application-level add-ins that you create by using Visual Studio.

System_CAPS_pubclassCannotRemoveControlException

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.

System_CAPS_pubclassCannotRemoveCustomizationException

The exception that is thrown when a customization could not be programmatically removed from a document.

System_CAPS_pubclassControlNameAlreadyExistsException

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.

System_CAPS_pubclassDesignTimeConstants

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclassInvalidRangeException

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.

System_CAPS_pubclassOfficeXpsDocumentException

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.

System_CAPS_pubclassRangeNotOnWorksheetException

The exception that is thrown when the range provided does not exist on the worksheet.

InterfaceDescription
System_CAPS_pubinterfaceActionBase

Defines shared functionality for smart tag actions in Office solutions for Word and Excel.

System_CAPS_pubinterfaceActionsPane

Represents a custom user interface for the Document Actions task pane in a document-level customization for Word or Excel.

System_CAPS_pubinterfaceAddIn

Defines the core functionality of add-ins that you create by using the Office development tools in Visual Studio.

System_CAPS_pubinterfaceCustomTaskPane

Represents a custom task pane in a Microsoft Office application.

System_CAPS_pubinterfaceCustomTaskPaneCollection

Represents a collection of custom task panes in a Microsoft Office application.

System_CAPS_pubinterfaceEntryPoint

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceFactory

Provides a method you can use to create Ribbon controls at run time in an application-level add-in.

System_CAPS_pubinterfaceIAddInExtension

Represents an extension of an AddIn object.

System_CAPS_pubinterfaceICachedDataPersistanceCallback

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceICachedDataProvider

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceIExtension

Represents an extension of a type in the Visual Studio Tools for Office runtime.

System_CAPS_pubinterfaceIHostItemProvider

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceRegexCollection

Represents a collection of regular expressions to be recognized by a smart tag in an Office solution.

System_CAPS_pubinterfaceSmartTagBase

Defines shared functionality for smart tags in Office solutions for Word and Excel.

System_CAPS_pubinterfaceSmartTagCollection

Represents a collection of smart tags in a Word or Excel solution created by using the Office development tools in Visual Studio.

EnumerationDescription
System_CAPS_pubenumStackStyle

Specifies the direction that controls will be stacked on an actions pane.

The Microsoft.Office.Tools namespace includes the following main types:

Return to top
Show: