ConvertAXContainerToImageBytes 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]
Converts an AX container object into an image byte array.
Namespace: Microsoft.Dynamics.Framework.Reports
Assembly: Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)
Syntax
'Declaration
<BuiltInMethodAttribute> _
<SecurityCriticalAttribute> _
Public Shared Function ConvertAXContainerToImageBytes ( _
serializedContainer As Byte() _
) As Byte()
'Usage
Dim serializedContainer As Byte()
Dim returnValue As Byte()
returnValue = BuiltInMethods.ConvertAXContainerToImageBytes(serializedContainer)
[BuiltInMethodAttribute]
[SecurityCriticalAttribute]
public static byte[] ConvertAXContainerToImageBytes(
byte[] serializedContainer
)
[BuiltInMethodAttribute]
[SecurityCriticalAttribute]
public:
static array<unsigned char>^ ConvertAXContainerToImageBytes(
array<unsigned char>^ serializedContainer
)
Parameters
- serializedContainer
Type: System.Byte[]
Return Value
Type: System.Byte[]
The image bytes which should be converted from the AX container.