Share via


Compression.Compress Method (Type, CompressionLevel, Byte[])

 

Compresses data.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static CompressedData Compress(
    Type compressor,
    CompressionLevel compressionLevel,
    byte[] data
)
public:
static CompressedData^ Compress(
    Type^ compressor,
    CompressionLevel compressionLevel,
    array<unsigned char>^ data
)
Public Shared Function Compress (
    compressor As Type,
    compressionLevel As CompressionLevel,
    data As Byte()
) As CompressedData

Parameters

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Framework.CompressedData

See Also

Compression Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top