Share via


ObjectWrapper.InvokeByName Method

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Function InvokeByName ( _
    name As String, _
    invokeAttr As BindingFlags, _
    args As Object(), _
    culture As CultureInfo _
) As Object
'Usage
Dim instance As ObjectWrapper
Dim name As String
Dim invokeAttr As BindingFlags
Dim args As Object()
Dim culture As CultureInfo
Dim returnValue As Object

returnValue = instance.InvokeByName(name, _
    invokeAttr, args, culture)
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public Object InvokeByName(
    string name,
    BindingFlags invokeAttr,
    Object[] args,
    CultureInfo culture
)

Parameters

  • args
    Type: []

Return Value

Type: System.Object

See Also

Reference

ObjectWrapper Class

ObjectWrapper Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace