CallStaticClassMethod 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 class 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 CallStaticClassMethod ( _
className As String, _
methodName As String, _
ParamArray paramList As Object() _
) As Object
'Usage
Dim instance As AxaptaWrapper
Dim className As String
Dim methodName As String
Dim paramList As Object()
Dim returnValue As Object
returnValue = instance.CallStaticClassMethod(className, _
methodName, paramList)
[SecurityCriticalAttribute]
public Object CallStaticClassMethod(
string className,
string methodName,
params Object[] paramList
)
[SecurityCriticalAttribute]
public:
Object^ CallStaticClassMethod(
String^ className,
String^ methodName,
... array<Object^>^ paramList
)
Parameters
- className
Type: System.String
- methodName
Type: System.String
- paramList
Type: System.Object[]
Return Value
Type: System.Object
An object that is the result of the method call.