Поделиться через


ApplicationClass.Run Method

A class in the Microsoft® .NET Framework or a member of such a class that is created when processing a COM coclass that managed code requires to interoperate with the corresponding COM object. Use this class only when you must access an earlier event in this class that has been extended in a later version of the product. Otherwise, use the interface in the .NET Framework that is derived from the COM coclass.

For information about the .NET interface, see Application.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Public Overridable Function Run ( _
    MacroName As String, _
    ParamArray ByRef safeArrayOfParams As Object() _
) As Object
'Usage
Dim instance As ApplicationClass
Dim MacroName As String
Dim safeArrayOfParams As Object()
Dim returnValue As Object

returnValue = instance.Run(MacroName, _
    safeArrayOfParams)
public virtual Object Run(
    string MacroName,
    ref params Object[] safeArrayOfParams
)

Parameters

  • safeArrayOfParams
    Type: []

Return Value

Type: System.Object

Implements

_Application.Run(String, [])

See Also

Reference

ApplicationClass Class

ApplicationClass Members

Microsoft.Office.Interop.PowerPoint Namespace