Factory Interface

 

Provides methods you can use to perform miscellaneous tasks in a document-level customization, such as creating Ribbon controls at run time and adding smart tags to worksheets.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("71A6F4AE-FF75-472B-8E1C-47F913AA9F3F")]
public interface Factory

NameDescription
System_CAPS_pubmethodCreateAction(String)

Creates a Action object that represents an action for a smart tag.

This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010.

.

System_CAPS_pubmethodCreateSmartTag(String, String, ISmartTagExtension)

Creates a SmartTag object that represents a smart tag on a worksheet.

This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010.

.

System_CAPS_pubmethodGetRibbonFactory()

Returns an object that you can use to create Ribbon controls at run time.

System_CAPS_pubmethodGetVstoObject(_Workbook)

Returns a Microsoft.Office.Tools.Excel.Workbook host item that extends the functionality of the specified native workbook object.

System_CAPS_pubmethodGetVstoObject(_Worksheet)

Returns a Microsoft.Office.Tools.Excel.Worksheet host item that extends the functionality of the specified native workbook object.

System_CAPS_pubmethodGetVstoObject(ListObject)

Returns a Microsoft.Office.Tools.Excel.ListObject that extends the functionality of the specified native list object.

System_CAPS_pubmethodHasVstoObject(_Workbook)

Returns a value that indicates whether a Microsoft.Office.Tools.Excel.Workbook host item exists for the specified Excel workbook object.

System_CAPS_pubmethodHasVstoObject(_Worksheet)

Returns a value that indicates whether a Microsoft.Office.Tools.Excel.Worksheet host item exists for the specified Excel worksheet object.

System_CAPS_pubmethodHasVstoObject(ListObject)

Returns a value that indicates whether a Microsoft.Office.Tools.Excel.ListObject exists for the specified native list object.

To get a Factory object, use the Globals.Factory property in your project. For more information, see Global Access to Objects in Office Projects.

System_CAPS_noteNote

This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview.

Return to top
Show: