共用方式為


ZlibCompression.CompressData Method (Byte[], CompressionLevel)

 

Compresses data by using zlib.

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

Syntax

public override CompressedData CompressData(
    byte[] data,
    CompressionLevel compressionLevel
)
public:
virtual CompressedData^ CompressData(
    array<unsigned char>^ data,
    CompressionLevel compressionLevel
) override
Public Overrides Function CompressData (
    data As Byte(),
    compressionLevel As CompressionLevel
) As CompressedData

Parameters

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Framework.CompressedData

Compressed data.

See Also

ZlibCompression Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top