Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Called by the Visual Studio Tools for Office runtime to get an object that can be used by VBA code in the document that is associated with a document-level project.
Namespace: Microsoft.Office.Tools.Word
Assemblies: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
Function GetAutomationObject As Object
Object GetAutomationObject()
Return Value
Type: System.Object
An object in a document-level customization that can be used by VBA code in the document.
Remarks
For more information about this method, see DocumentBase.GetAutomationObject.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.