Share via


CallStaticRecordMethod Method

This member has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses this member throws a MethodAccessException.[SECURITY CRITICAL]

Calls a static method from an Axapta record passing in the specified array of parameter values.

Namespace:  Microsoft.Dynamics.Framework.Reports
Assembly:  Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)

Syntax

'Declaration
<SecurityCriticalAttribute> _
Public Function CallStaticRecordMethod ( _
    recordName As String, _
    methodName As String, _
    ParamArray paramList As Object() _
) As Object
'Usage
Dim instance As AxaptaWrapper
Dim recordName As String
Dim methodName As String
Dim paramList As Object()
Dim returnValue As Object

returnValue = instance.CallStaticRecordMethod(recordName, _
    methodName, paramList)
[SecurityCriticalAttribute]
public Object CallStaticRecordMethod(
    string recordName,
    string methodName,
    params Object[] paramList
)
[SecurityCriticalAttribute]
public:
Object^ CallStaticRecordMethod(
    String^ recordName, 
    String^ methodName, 
    ... array<Object^>^ paramList
)

Parameters

Return Value

Type: System.Object
An object that is the result of the method call.

See Also

Reference

AxaptaWrapper Class

Microsoft.Dynamics.Framework.Reports Namespace